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

Parsing error on someObject.new InnerClass #71

Closed
mathias-lang-sociomantic opened this issue Dec 17, 2015 · 0 comments
Closed

Parsing error on someObject.new InnerClass #71

mathias-lang-sociomantic opened this issue Dec 17, 2015 · 0 comments
Milestone

Comments

@mathias-lang-sociomantic
Copy link
Contributor

class Foo
{
    class Bar {}
}

void main ()
{
    auto foo = new Foo;
    auto bar = foo.new Bar;
}

test2.d(9:20)[error]: Expected identifier instead of new
test2.d(10:1)[error]: Expected ; instead of }

Tested on 0.2.1 + master

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