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
When using Erase with a single member DU, the generated python throws an import error when trying to import the Erased type, whereas the same code works in JS.
Repro code
openFable.Core[<Erase>]typeX= X ofint// in some other filelety(x:X)= x
Expected and actual results
The Erase annotation should replace the application and destructuring of the type with bare references, but ends up attemptig to import the non-existent type.
The text was updated successfully, but these errors were encountered:
Description
When using
Erase
with a single member DU, the generated python throws an import error when trying to import the Erased type, whereas the same code works in JS.Repro code
Expected and actual results
The
Erase
annotation should replace the application and destructuring of the type with bare references, but ends up attemptig to import the non-existent type.The text was updated successfully, but these errors were encountered: