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

Errors where function named Array returns Generic of Array #1117

Open
0b1kn00b opened this issue Jun 25, 2024 · 0 comments
Open

Errors where function named Array returns Generic of Array #1117

0b1kn00b opened this issue Jun 25, 2024 · 0 comments

Comments

@0b1kn00b
Copy link
Contributor

0b1kn00b commented Jun 25, 2024

class Main {
	static function main() {
	}
       //fails silently
	static function Array<T>(self:std.Array<T>):TestWrap<std.Array<T>>{
		return self;
	}
}
@:forward abstract TestWrap<T>(T) from T to T{

}

e1798e6

@0b1kn00b 0b1kn00b changed the title Errors where function named Array returns Generic Errors where function named Array returns Generic of Array Jun 25, 2024
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

1 participant