Faculty of Information Technology
Software Engineering Group

Opened 8 years ago

Closed 5 years ago

#49 closed todo (fixed)

Allow for this in in Groovy code

Reported by: Jan Vraný Owned by: Jan Vraný
Priority: major Milestone: milestone:
Component: stx:libjava Keywords:


In Groovy-evaluated this refers to the instance of (temporary) script class. This is confusing since in inspector/debugger one
would expect that this refers to inspected object/receiver.

A solution is to write a AST transformation to transform all this nodes to some variable nodes accessing injected self from Bindings.

Change History (2)

comment:1 Changed 8 years ago by Jan Vraný

Type: defecttask

comment:2 Changed 5 years ago by Jan Vrany

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.