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

top-level match expressions don't compile #1020

Open
Bersier opened this issue Jan 7, 2024 · 0 comments
Open

top-level match expressions don't compile #1020

Bersier opened this issue Jan 7, 2024 · 0 comments

Comments

@Bersier
Copy link

Bersier commented Jan 7, 2024

Describe the bug

Unlike for other types of expressions, Scastie doesn't seem to understand top-level match expressions.

Scastie snippet link

https://scastie.scala-lang.org/ZmTFsaD6Rwqx0uHZ7D1u4A

To Reproduce

  1. Write a top-level match expression in Scastie.

Expected behavior

Top-level match expressions to reduce as usual.

Screenshot ( Optional )

No response

Version

Scastie website

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant