It mentioned `rkNode`, so it seems to be an internal error, a compiler bug. 
However, I don't think the code is valid.
    
    
    v =
      case s:
        of "A": 11
        else: raiseError("invalid value")
    
    
    Run

As `raiseError` doesn't return `int`, the compiler will think that you're 
assigning nothing to `v` if `s` is not `"A"`.

Try to change it to
    
    
    v =
      case s:
        of "A":
          11
        else:
          raiseError("invalid value")
          0
    
    
    Run

Reply via email to