groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <>
Subject Re: more help with an AST
Date Wed, 12 Jul 2017 06:02:32 GMT
On 11.07.2017 22:07, Ed Clark wrote:
> the browser shows a post-xform output of:
>      sum = myCtx.multiply( le, re)          <------- this executes
>      sum = myCtx.multiply( le, re)          <------- this doesn't
> But, when run, the first line works while the second one results in a
> MissingMethodException stating there is no "multiply" method for the type
> Complex - which is the type of "le".

can you give me the full exception text? I need to know the number and 
types of arguments

> Drilling down in the AST itself, I'm not seeing any difference - other 
> than line
> numbers and column numbers - between the various *Expressions
> (e.g. VariableExpression) making up the subtrees for the two lines.

Can you write down how the AST looks like? For VariableExpressions I 
would be also interested in the accessedVariable and in generalabout 
what phase we are actually talking about.

bye Jochen

View raw message