Ticket #31 (closed enhancement: fixed)

Opened 4 months ago

Last modified 3 months ago

Implicit Line Continuation in unclosed parens

Reported by: hopscc Owned by: Chuck
Priority: major Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

Similar to Python behaviour allow expressions and lists enclosed
by parens (args to method calls and method and sig parameter declarations) to continue implicitly over multiple lines

see discussion Implict Line Continuation for contents of unclosed parens

Attachments

implicitLineContInParens.patch (10.0 kB) - added by hopscc 4 months ago.

Change History

Changed 4 months ago by hopscc

Changed 4 months ago by hopscc

  • owner set to Chuck
  • status changed from new to assigned

Heres a patch for this. It includes contin in parenthesized expressions ( and suppresses parens not needed message if multiline) and for method call argument lists and method decl parameter lists and signatures.
Tests for expr and methods and Int release notes entry.

Changed 3 months ago by Chuck

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.