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
insert-annotation{,-to-source} should give a more specific message -- e.g.
"top-level constructors do not have receivers" -- when the input JAIF indicates
an insertion on the (non-existent) receiver of a non-inner constructor.
Excerpt from emailed example submission follows.
Subject: Re: inference of the jaif
From: Damiano Macedonio <[email protected]>
When you run
insert-annotations-to-source OsTrusted.jaif Test.java
you will obtain Test.java.annotated. Then its type checking will end up with
the following errors:
annotated/com/juliasoft/test/Test.java:24: error: the receiver type does not
match the enclosing outer class type
NestedStatic(Test.@OsUntrusted NestedStatic this) {
^
required: Test
found: NestedStatic
annotated/com/juliasoft/test/Test.java:24: error: the receiver name does not
match the enclosing outer class type
NestedStatic(Test.@OsUntrusted NestedStatic this) {
^
required: Test
found: NestedStatic
2 errors
Original issue reported on code.google.com by [email protected] on 21 Feb 2014 at 11:04
Original issue reported on code.google.com by
[email protected]
on 21 Feb 2014 at 11:04Attachments:
The text was updated successfully, but these errors were encountered: