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
I don't know if we should expend compiler complexity on pretty-printing bogus code. Besides making life easier for fuzzers, is there any value in making this work? Is it possible to express valid code that has this same problem?
I think consistency is worthwhile. Bad corner-cases, even if they are for weird code, are a sign of an ambiguous/confusing grammar, which is not a nice property of a language.
becomes
Here's an invalid program that gets transformed into a program that prints 42.
The text was updated successfully, but these errors were encountered: