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
Thanks for all the work that has gone into the language and the diagnostics, they truly are amazing!
While going through the tutorial, it occurred to me after I wrote this and then removed the (_) that the function capture was completely unnecessary, but with no warning I'm sure this error exists in a ton of codebases already, and could be easily dealt with with a diagnostic added to the compiler.
1|>int.to_string(_)// <-- (_) is unnecessary and can be removed without changing the meaning of the pipeline|>string.repeat(5)|>string.drop_left(2)|>io.println
The text was updated successfully, but these errors were encountered:
Thanks for all the work that has gone into the language and the diagnostics, they truly are amazing!
While going through the tutorial, it occurred to me after I wrote this and then removed the
(_)
that the function capture was completely unnecessary, but with no warning I'm sure this error exists in a ton of codebases already, and could be easily dealt with with a diagnostic added to the compiler.The text was updated successfully, but these errors were encountered: