You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using infer return type on fn will cause a debug assertion.
π Expected behavior
Should infer the return type.
Additional information about the issue
Found while working on isolated declaration.
It's caused by ImportAttributes not going through the full emit pipeline and thus not having their position assigned if they are part of an import type node.
The text was updated successfully, but these errors were encountered:
π Search Terms
infer return type import attributes
π Version & Regression Information
β― Playground Link
Playground Link
π» Code
π Actual behavior
Using infer return type on
fn
will cause a debug assertion.π Expected behavior
Should infer the return type.
Additional information about the issue
Found while working on isolated declaration.
It's caused by
ImportAttributes
not going through the full emit pipeline and thus not having their position assigned if they are part of an import type node.The text was updated successfully, but these errors were encountered: