qingyi-yan / POET

Other
1 stars 2 forks source link

Error: no matching case found for: StructType#, Continue, and ExpBlock #15

Closed Samuel-Oglegba closed 1 year ago

Samuel-Oglegba commented 1 year ago

When xform.global_modread(input) is called and the input contains

How to re-create StructType Bug

  1. Create a file example.pt and add the following code:
      <eval
        input = CODE.StructType#("compat_ipt_entry","");
        XFORM.global_modread(input);
      />
  2. run pcg example.pt
  3. output: Error: no matching case found for: StructType#("compat_ipt_entry","")... line 264 of file analysis.pt

    How to re-create Continue Bug

  4. Modify the input of example.pt to input = CODE.Continue
  5. output: Error: no matching case found for: Continue... line 264 of file analysis.pt

    How to re-create ExpBlock Bug

  6. Modify the input of example.pt to input = CODE.ExpBlock#(Bop#( ":", "net", "net"))
  7. output: Error: no matching case found for: ExpBlock#((Bop#(":","net","net") ... line 264 of file analysis.pt