I solved it this way. I changed it to cache the type checked script and then clone it every time I need it. Question though about your suggestion, can I parse the script with typeChecked and then use the binding after when I want to run the parsed script? that way I dont need to add the base class. A follow up to that is, will these variables I bind be class level variables or global?
-- View this message in context: http://groovy.329449.n5.nabble.com/TypeChecked-and-with-custom-methods-parameters-using-ExpandoMetaClass-tp5733289p5733295.html Sent from the Groovy Users mailing list archive at Nabble.com.
