Open MohamedSabthar opened 1 year ago
It seems bir operand is null where it shouldn't be. This normally happens due to a issue in compiler frond phase.
I'm not sure if this is valid code. Should probably have resulted in a compile-time error.
The annotation is on the object method and "An annotation occurring within a type descriptor is evaluated when the type descriptor is resolved." (spec). Basically, the annotations will be resolved once for the class (not for each instance). And therefore, at the point at which the annotation is evaluated, you wouldn't have an object instance, and therefore, access to a self
which you can refer to.
Description
Following code results in a bad sad error:
Getting the following:
No response
Affected Version(s)
Tested with 2201.4.0 and 2201.6.0
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response