Skip to content
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

Flow expression parser: error not issued when parsing "<expression>.<class name>.class" #805

Closed
jthaine opened this issue Jun 15, 2016 · 1 comment
Assignees
Milestone

Comments

@jthaine
Copy link
Contributor

jthaine commented Jun 15, 2016

Given

import org.checkerframework.checker.lock.qual.Holding;

class MyClass {
    @Holding("this.MyClass.class")
    void method() { }
}

Expected: a flowexpr.parse.error at the declaration of method(), since this.MyClass.class is not a valid expression.
Actual: no error

@smillst smillst added this to the Low milestone Jun 22, 2016
smillst added a commit that referenced this issue Jun 28, 2016
@smillst
Copy link
Member

smillst commented Jul 29, 2016

Fixed via f0d6a17

@smillst smillst closed this as completed Jul 29, 2016
@smillst smillst self-assigned this Jul 29, 2016
Ao-senXiong pushed a commit to opprop/checker-framework that referenced this issue Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants