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

False error for Catch A.B #202

Closed
Lexikos opened this issue Oct 9, 2022 · 0 comments
Closed

False error for Catch A.B #202

Lexikos opened this issue Oct 9, 2022 · 0 comments

Comments

@Lexikos
Copy link

Lexikos commented Oct 9, 2022

class A {
    class B extends Error {
        
    }
    __new() {
        throw A.B()
    }
}
try {
    A()
} catch A.B as e {
    MsgBox Type(e)
}

Incorrectly shows Unexpected '.' under the . in catch A.B.

Classes must be specified by their exact full name and not an arbitrary expression

thqby added a commit that referenced this issue Oct 16, 2022
@thqby thqby closed this as completed Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants