Consider the following code:
declare
class Test
attr L
meth init L:=nil end
meth put(X) {Browse @L} end
meth get {Browse @L} end
meth isEmpty @L==nil end
meth getList @L end
meth setNil L:=nil end
meth union(C) {Browse @L} end
end
When I compile this class it gives error : expression at statement position. I'm checking my little code for about an hour to fix this error but got no luck. Please help me find the problem. Thank you.