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

ClassConstructor type definition helper #59

Open
ahmtcn123 opened this issue Jan 5, 2022 · 0 comments
Open

ClassConstructor type definition helper #59

ahmtcn123 opened this issue Jan 5, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request parser Parser issue phase-3 Phase 3 of project build

Comments

@ahmtcn123
Copy link
Member

ahmtcn123 commented Jan 5, 2022

Is your request about syntax?
Yes

Is your request about runtime?
No

Describe the request

Current parser does not support empty generic construction if generics already defined in type.

Example:


class Test<E, T> {}

v construct : Test<int, string> = new Test(1, "test");
//Error:                              ^^^^ Test requires 2 generic definings

In future ellie should accept this.

@ahmtcn123 ahmtcn123 added enhancement New feature or request parser Parser issue labels Jan 5, 2022
@ahmtcn123 ahmtcn123 self-assigned this Jan 5, 2022
@ahmtcn123 ahmtcn123 added this to the Phase 3 milestone May 18, 2022
@ahmtcn123 ahmtcn123 added the phase-3 Phase 3 of project build label May 18, 2022
@ahmtcn123 ahmtcn123 removed this from the Phase 3 milestone Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request parser Parser issue phase-3 Phase 3 of project build
Projects
None yet
Development

No branches or pull requests

1 participant