2016-02-25 23:48 GMT+01:00 Alain Rastoul <[email protected]>: > Hi, > > I have downloaded a first version of IceCompiler, a small tool who allow > run time checks embedding in pharo classes on Smalltalkhub at > > http://smalltalkhub.com/#!/~AlainRastoul/IceCompiler > > If some interested pharoers are willing to give me feedback on this > package I would greatly appreciate. > This is not an announce but a request for feedback to advanced pharo users > , since it is an alpha version with probably killing side effects. > There is no ConfigurationOf as of today(there will be), but there is no > dependency and the package loads well in a fresh standard Pharo 5.0. > > > Checks are written in standard smalltalk methods with design-by-contract > style pragmas like > > <contract: invariant> > <contract: #ensured appliedTo: #( #add: )> > <contract: #required appliedTo: #( #add: )> >
can you use symbols only for pragma arguments, please. <contract: #invariant> instead of <contract: invariant> I am about to change rbparser to only allow constant literal arguments > > Contract method calls are compiled in specified classes (with subclasses) > in order to make bullet-proofing run test phases of Pharo code/image > and to help in hard bug cases. > > > Before trying this package, please read the comments on smalltalk hub > page, because if misused it may break your image, and do not use on > standard important classes (Array, String, Dictionary, Collection etc.) ... > unless you like danger :) > > > Many thanks in advance > > > regards, > > Alain > > >
