Ticket #249 (new defect)
property without type works in cobra, is exposed to C# as object
| Reported by: | nevdelap | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Cobra Compiler | Version: | 0.8.0 |
| Keywords: | Cc: |
Description
class P get x # Cobra doesn't need 'as bool', and works fine when return 1 > 2 # used from cobra, but when used from C# (gmcs) it complains... # error CS0266: Cannot implicitly convert type 'object' to 'bool' def y as bool # Requires the as bool. return 1 > 3 def main print .x print .y
Change History
Note: See
TracTickets for help on using
tickets.



