> Is it possible to get an compile-time error in the last line?

If that line is executed at compile-time, like in a static block:
    
    
    import tables
    
    const myTable = {
      1: 14.cint,
      2: 23.cint,
      3: 4.cint
    }.toTable()
    
    static:
      echo myTable[33]
    
    

Reply via email to