-
-
Notifications
You must be signed in to change notification settings - Fork 346
Closed
Description
I'm personally ambivalent on tabs vs. spaces for indentation, but I'm surprised that Roc takes such a strong stance against tabs. It seems that tabs are illegal anywhere except string literals and application names:
- When used for indentation, the type checking step of the compiler throws an unformatted
index out of bounds: the len is 11 but the index is 11
panic. - When used anywhere else (such as between function arguments), the type checking step of the compiler throws a well-formatted
Tab characters are not allowed.
error.
Is this an intentional choice (to enforce consistency between developers? to enable the editor to use the tab key for features?) or is tab support on the roadmap?
toastal
Metadata
Metadata
Assignees
Labels
No labels