-
-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug adding comment in AST in CtCatch #2894
Comments
thanks for the report, could you create a test case in a pull request? |
sorry - I'm restricted by our firewall and don't use git at all so far. Pull request isn't that trivial for me because of that - but in the meantime you already commited a fix anyway. I had a look into the merged fix: I think that fixes my additional comment regarding the error-output. |
I agree that #2908 only improve the error message.
For which we are grateful! |
When I try to parse an interface package org.apache.ibatis.annotations;
import java.lang.annotation.Documented;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
@Documented
@Inherited
@Retention(RUNTIME)
@Target({ TYPE, METHOD, FIELD, PARAMETER })
public @interface Mapper { //this the Line38
// Interface Mapper
} it triggers:
|
The following code example triggers
By the way I suggest two little optimisations in the error-output:
The text was updated successfully, but these errors were encountered: