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

this-type for choice results in error clazz #3355

Open
fridis opened this issue Jul 10, 2024 · 0 comments
Open

this-type for choice results in error clazz #3355

fridis opened this issue Jul 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working front end related to the front end until .fum file is created: call and type resolution, type checking, etc. middle end related to the Middle End that creates Fuzion Application from Fuzion Modules

Comments

@fridis
Copy link
Member

fridis commented Jul 10, 2024

This commit added workarounds to option.fz and outcome.fz for a crash in the middle end (error clazz found) when running tests/choice_inheritance:

-    auto_unwrap T (try option.this)
+    auto_unwrap T (try (option T)) /* NYI: BUG: auto_unwrap T (try option.this) */
@fridis fridis added bug Something isn't working front end related to the front end until .fum file is created: call and type resolution, type checking, etc. middle end related to the Middle End that creates Fuzion Application from Fuzion Modules labels Jul 10, 2024
@fridis fridis self-assigned this Jul 10, 2024
fridis added a commit that referenced this issue Jul 10, 2024
Did this only in the inheritance call, not the other uses of
`option.this`/`outcome.this`, which seems to be sufficient.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working front end related to the front end until .fum file is created: call and type resolution, type checking, etc. middle end related to the Middle End that creates Fuzion Application from Fuzion Modules
Projects
None yet
Development

No branches or pull requests

1 participant