Diff
Not logged in

Differences From Artifact [38155bcc400d812f]:

To Artifact [737774791c82ade1]:


10 10 11 11 /// Raised when something went wrong in runtime 12 12 13 13 class RuntimeException : Exception 14 14 { 15 15 const LexPosition pos; 16 16 17 - this( const LexPosition pos, string msg ) 18 - { super(sprintf!"%s at [%s]"(msg, pos)); this.pos = pos; } 17 + this( const LexPosition pos, string msg, string file=null, size_t line=0, Throwable next=null ) 18 + { super(sprintf!"[%s] %s"(pos, msg), file, line, next); this.pos = pos; } 19 19 } 20 20 21 21 /// Runtime values of Polemy 22 22 23 23 abstract class Value 24 24 { 25 25 }