Differences From Artifact [38155bcc400d812f]:
- File        
polemy/value.d
- 2010-11-09 05:19:20 - part of checkin [8de5b49cdf] on branch trunk - split tricks module into a separate package. (user: kinaba) [annotate]
 
 
To Artifact [737774791c82ade1]:
- File        
polemy/value.d
- 2010-11-09 10:28:08 - part of checkin [dc93ad8cf6] on branch trunk - layered exec expression @lay(...) added (user: kinaba) [annotate]
 
 
   10                                                                                        10  
   11  /// Raised when something went wrong in runtime                                       11  /// Raised when something went wrong in runtime
   12                                                                                        12  
   13  class RuntimeException : Exception                                                    13  class RuntimeException : Exception
   14  {                                                                                     14  {
   15          const LexPosition pos;                                                        15          const LexPosition pos;
   16                                                                                        16  
   17          this( const LexPosition pos, string msg )                                |    17          this( const LexPosition pos, string msg, string file=null, size_t line=0
   18                  { super(sprintf!"%s at [%s]"(msg, pos)); this.pos = pos; }       |    18                  { super(sprintf!"[%s] %s"(pos, msg), file, line, next); this.pos
   19  }                                                                                     19  }
   20                                                                                        20  
   21  /// Runtime values of Polemy                                                          21  /// Runtime values of Polemy
   22                                                                                        22  
   23  abstract class Value                                                                  23  abstract class Value
   24  {                                                                                     24  {
   25  }                                                                                     25  }