qingyi-yan / POET

Other
1 stars 2 forks source link

Error: no matching case found for: Char#":" #13

Closed Samuel-Oglegba closed 1 year ago

Samuel-Oglegba commented 1 year ago

When xform.global_modread(input) is called, where input = CODE.If#(CODE.Bop#("==","c",CODE.Char#(":"))).

How to re-create the Bug

  1. Create a file example.pt and add the following code:
      <eval
        input = CODE.If#(CODE.Bop#("==","c",CODE.Char#(":")));
        XFORM.global_modread(input);
      />
  2. run pcg example.pt
  3. output: Error: no matching case found for: Char#":"
  4. expected output: (NULL, c)