Ticket #215 (closed defect: fixed)
-test option doesn't handle @args -target:lib
Reported by: | Chuck | Owned by: | Chuck |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | test, target | Cc: |
Description
""" Given the "@args -target:lib" below, the command "cobra foo.cobra" works as expected. However, "cobra -test foo.cobra" gives an error: error: Cannot specify -main if building a module or library So there is a deficiency in the implementation of -test. """ @args -target:lib class A test a = A() assert a.two == 2 get two as int return 2
Attachments
Change History
Note: See
TracTickets for help on using
tickets.