-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Playground] You've reached a bug in the playground #13470
Comments
Pretty sure it's not really a good idea to extend stdlib types. EDIT: This isn't really specific to the playground, so what is the actual bug here? |
Regardless if it's not a bug in the playground (the bug is in my code for sure), there's another bug where the playground think this is it's bug. |
|
In general I don't think implementations for |
I think I found a possible infinite loop in the standard library when implementing a new
Int
type, and while trying to minimally reproduce it, triggered a bug in the playground.Code:
Exception:
The underlying error looks to be a compiler error due to macro expansion (trying to use the non-existent
MIN
constant onMyInt
). This seems minor as the "bug in the playground" looks more like a bug in my code that the playground couldn't correctly parse.The text was updated successfully, but these errors were encountered: