Ticket #315 (assigned enhancement)
cobra support multiple return values
Reported by: | hopscc | Owned by: | Chuck |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Cobra Compiler | Version: | 0.9.3 |
Keywords: | Cc: |
Description
(Feature placeholder)
Multiple return values on methods using simple and obvious syntax (slight extension to existing) for method return type declaration and return values.
a,b = .fn(123, 'xyz') assert a.typeOf == int assert b.typeOf == String def fn(i as int, s as String) as int, String # lotta calc return i, s
Attachments
Change History
Note: See
TracTickets for help on using
tickets.