Ticket #219 (closed defect: fixed)
'result' unassigned in ensure.
Reported by: | nevdelap | Owned by: | Chuck |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
use Cairo from Mono.Cairo class Program def main pass def m1 as int ensure true implies result == 1 # OK body return 1 def m2 as PointD ensure true implies result.x == 1 # error: Use of unassigned local variable "_lh_result" body return PointD(1, 1)
Change History
Note: See
TracTickets for help on using
tickets.