qingyi-yan / POET

Other
1 stars 2 forks source link

Error: no matching case found for: GotoStmt#"error" #12

Closed Samuel-Oglegba closed 1 year ago

Samuel-Oglegba commented 1 year ago

When xform.global_modread(input) is called, where input = GotoStmt#"error" for instance.

How to re-create the Bug

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