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

catchBounce hangs #34

Open
kevinresol opened this issue Jan 8, 2021 · 1 comment
Open

catchBounce hangs #34

kevinresol opened this issue Jan 8, 2021 · 1 comment

Comments

@kevinresol
Copy link
Member

kevinresol commented Jan 8, 2021

TBH, I am not exactly sure where to report this.

Repro case: https://github.com/kevinresol/haxe_issues/tree/tink_macro_34

haxe build.hxml -v will hang with:

...
Exiting macro tink.macro.Types.resolveDirectType
Typing tink.pure._Vector.Vector_Impl_.fromIterable
Typing tink.pure._Vector.Vector_Impl_._new
Typing Main.data
Typing tink.pure._List.List_Impl_.fromArray
Typing tink.pure._List.Node.new
Typing tink.pure._List.Node.EMPTY
Typing tink.pure._List.List_Impl_.toIterable
Typing tink.pure._List.List_Impl_.iterator
Typing tink.pure.NodeIterator.new
Typing tink.pure.NodeIterator.hasNext
Typing tink.pure.NodeIterator.next
Exiting macro tink.macro.Bouncer.catchBounce
kevinresol added a commit to kevinresol/haxe_issues that referenced this issue Jan 8, 2021
@kevinresol
Copy link
Member Author

Apparently something is unable to infer the type parameter of tink.pure.Vector.

Explicitly type-hinting fixes it: <Foo data=${(Vector.fromIterable(data):Vector<Bar>)}/>

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