mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-17 02:14:16 +00:00
Added setting position of generated nodes in javac's @Synchronized as a 'pilot' to see if we cause any problems with this approach. It does generate nicer error messages!
Example: Using @Synchronized with named lock on a static method, naming a non-existent or instance lock. That used to error on line -1.
This commit is contained in:
1 parent
b1877a77be
commit
fe4985e212
3 files changed
+28
-8
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
-1:-1 ERROR non-static variable read cannot be referenced from a static context
|
||||
5:9 ERROR non-static variable read cannot be referenced from a static context
|
||||
Reference in new issue
Block a user