Ticket #210 (assigned defect)
Spaces after tabs should be allowed for implicit as well as explicit line continuation.
Reported by: | nevdelap | Owned by: | Chuck |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
Space after tabs is not allowed in implicit line continuation and so currently requires the workaround of using explicit line continuation for vertical alignment where it needn't be.
Test case: (Note: code doesn't display as intended here. Ok copied to editor with tabs=4)
class X def foo(i as int, j as int) as int return i + j def main trace .foo(1, 2) trace .foo(1, 2) trace .foo(1, 2)
test.cobra(11): error: test.cobra(11,1): error: Cannot mix tabs and spaces in indentation. [TAB][TAB][TAB][TAB][SPACE][SPACE][SPACE]...
Attachments
Change History
Note: See
TracTickets for help on using
tickets.