Opened 2 years ago

Closed 2 years ago

#412 closed defect (fixed)

Using literal "\\" string fails in LLVM code generation.

Reported by: benl Owned by:
Priority: high Milestone:
Component: Unknown Version: 0.4.2
Keywords: Cc:

Description (last modified by benl)

If the program contains a literal "\\" compilation dies with:

opt: src/s2/smr-core/src/SMR/Source/Pretty.ddc.ll:35:44: error: constant expression type mismatch
@_v349.SMR.Source.Pretty = global [2 x i8] c"\\00"
                                           ^

Change History (3)

comment:1 Changed 2 years ago by benl

  • Description modified (diff)

comment:2 Changed 2 years ago by benl

  • Priority changed from normal to high

comment:3 Changed 2 years ago by benl

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.