You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classPogo {
defbar() {}
voidmeth() {
def baz = bar
bar = baz
baz =this.bar
this.bar = baz
}
}
None of the "bar" tokens within meth() refer to "def bar()" method. They are property references. All should infer as unknown in this case. At runtime they all produce a MissingPropertyException.
The text was updated successfully, but these errors were encountered:
eric-milles
changed the title
Type inferencing of invalid method references
Type inferencing of missing properties that look like method references
Jan 31, 2019
Consider the following:
None of the "bar" tokens within meth() refer to "def bar()" method. They are property references. All should infer as unknown in this case. At runtime they all produce a MissingPropertyException.
The text was updated successfully, but these errors were encountered: