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

Invalid declaration of generic types for functions. #1021

Closed
gallandarakhneorg opened this issue Jul 14, 2020 · 0 comments
Closed

Invalid declaration of generic types for functions. #1021

gallandarakhneorg opened this issue Jul 14, 2020 · 0 comments

Comments

@gallandarakhneorg
Copy link
Member

gallandarakhneorg commented Jul 14, 2020

Let the following code:

class Type<T> {
     def myfct(T) : T with T {
     }
}

An error is expected on the declaration of the function's generic type T. But, none is generated.

@gallandarakhneorg gallandarakhneorg added this to the 0.12.0 milestone Jul 14, 2020
@gallandarakhneorg gallandarakhneorg self-assigned this Jul 16, 2020
gallandarakhneorg added a commit that referenced this issue Jul 17, 2020
…her generic type parameter.

close #1021

Signed-off-by: Stéphane Galland <galland@arakhne.org>
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

1 participant