diff --git a/src/main/java/spoon/support/compiler/jdt/JDTCommentBuilder.java b/src/main/java/spoon/support/compiler/jdt/JDTCommentBuilder.java index 8a5a52f2be2..4bbaa27581b 100644 --- a/src/main/java/spoon/support/compiler/jdt/JDTCommentBuilder.java +++ b/src/main/java/spoon/support/compiler/jdt/JDTCommentBuilder.java @@ -448,7 +448,8 @@ public void visitCtAnnotation(CtAnnotation e) { if (!comment.isParentInitialized()) { // that's a serious error, there is something to debug LOGGER.error("\"" + comment + "\" cannot be added into the AST, with parent " + commentParent.getClass() - + "please report the bug by posting on https://github.com/INRIA/spoon/issues/2482"); + + " at " + commentParent.getPosition().toString() + + ", please report the bug by posting on https://github.com/INRIA/spoon/issues/2482"); } }