-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 375 add support for any type (#380)
* Add generics type to the AST * Add support for parsing generic types * Codegen tests * Add indexing support for generics * Add resolver support for generics * Code generation for generics Avoid generating generic methods * Add validation for generics * Add intermdiate index * Create implementation entries for resolved generics * Make sure types are generated, add correctness tests * additional tests for generic-parameter annotation added additional tests that test if generic function parameters can be provided in an arbitrary order: it should make no difference if you write foo(a := x, b := y); or foo(b := y, a := x); for a foo<T, V> Co-authored-by: Mathias Rieder <mathias.rieder@gmail.com>
- Loading branch information
Showing
36 changed files
with
2,830 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.