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
Since #4934 fun names can start with an uppercase letter. Compiling works fine but it seems the formatter is not aware of this change.
Example:
# mylib.crlibMyLibfunFoo()
end
$ crystal tool format mylib.cr
Error: couldn't format 'mylib.cr', please report a bug including the contents of it: https://github.com/crystal-lang/crystal/issues
expecting IDENT, not `CONST, Foo`, at :2:7 (Exception)
The text was updated successfully, but these errors were encountered:
Since #4934 fun names can start with an uppercase letter. Compiling works fine but it seems the formatter is not aware of this change.
Example:
The text was updated successfully, but these errors were encountered: