Here's my code (download):
Class Utils.Generators [ Abstract ]
{
ClassMethod B()
{
s ^a = 1
}
ClassMethod A() [ CodeMode = objectgenerator, GenerateAfter = B, PlaceAfter = B ]
{
k ^a
do ..B()
}Now, obviously for it to work I need method B compiled and ready to use before compiling method A().
I test it with the following code:
do $system.OBJ.UnCompile("Utils.Generator")
do $system.OBJ.Compile("Utils.Generator")Yet, I receive the following compilation error:
