Wiki

Ticket #353 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Internal error on certain multi-target assignments

Reported by: Charles Owned by:
Priority: medium Milestone:
Component: Cobra Compiler Version: 0.9.6
Keywords: Cc:

Description

class X

    def foo
        a, b = 'x', .bar('y')
        a, b = 'x', _bar('y')  # <--- causes internal error
        CobraCore.noOp(a, b)

    def bar(s as String) as int
        return 1
        
    def _bar(s as String) as int
        return 1

    def main
        print 'done.'

Change History

Changed 4 years ago by Charles

  • status changed from new to closed
  • resolution set to fixed

Fixed in changeset:3100

Note: See TracTickets for help on using tickets.