Wiki

Ticket #297 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Some valid int literals give a compilation error

Reported by: Charles Owned by:
Priority: major Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

error: Constant value "-1" cannot be converted to a "uint"
class X

    def main
        x = 0xffffffff_u32
        trace x

Change History

Changed 12 years ago by Charles

  • summary changed from Valid int literals gives compilation error to Some valid int literals give a compilation error

Changed 12 years ago by Charles

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

Fixed. Other improvements as well. See
changeset:2818
changeset:2819
changeset:2820

Note: See TracTickets for help on using tickets.