aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/JavacAST.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2013-07-23 00:54:59 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2013-07-23 00:54:59 +0200
commit1b4d8669c48af215c38a73f6dfd15741619a1c45 (patch)
tree0c6487d4aaf711e401450fbfa5a35f1f6eae3e8b /src/core/lombok/javac/JavacAST.java
parent45697b50816df79475a8bb69dc89ff68747fbfe6 (diff)
downloadlombok-1b4d8669c48af215c38a73f6dfd15741619a1c45.tar.gz
lombok-1b4d8669c48af215c38a73f6dfd15741619a1c45.tar.bz2
lombok-1b4d8669c48af215c38a73f6dfd15741619a1c45.zip
A source file with just @Getter in it now compiles in javac8, but there is still a looooong way to go.
Diffstat (limited to 'src/core/lombok/javac/JavacAST.java')
-rw-r--r--src/core/lombok/javac/JavacAST.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/JavacAST.java b/src/core/lombok/javac/JavacAST.java
index 36c51210..04d7540f 100644
--- a/src/core/lombok/javac/JavacAST.java
+++ b/src/core/lombok/javac/JavacAST.java
@@ -360,7 +360,7 @@ public class JavacAST extends AST<JavacAST, JavacNode, JCTree> {
void removeDeferredErrors(JavacNode node) {
DiagnosticPosition pos = node.get().pos();
JCCompilationUnit top = (JCCompilationUnit) top().get();
- removeFromDeferredDiagnostics(pos.getStartPosition(), pos.getEndPosition(top.endPositions));
+ removeFromDeferredDiagnostics(pos.getStartPosition(), Javac.getEndPosition(pos, top));
}
/** Supply either a position or a node (in that case, position of the node is used) */