c_src: update to have intern args
[nit.git] / c_src / location._sep.c
index ef8b9de..be2524c 100644 (file)
@@ -1,5 +1,6 @@
 /* This C file is generated by NIT to compile module location. */
 #include "location._sep.h"
+static const char LOCATE_location___SourceFile___filename[] = "location::SourceFile::filename";
 val_t location___SourceFile___filename(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -10,9 +11,10 @@ val_t location___SourceFile___filename(val_t p0){
   fra.me.meth = LOCATE_location___SourceFile___filename;
   fra.me.has_broke = 0;
   fra.me.REG_size = 1;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[0] = p0;
-  /* ./location.nit:22 */
+  /* location.nit:22 */
   REGB0 = TAG_Bool(ATTR_location___SourceFile_____atfilename(fra.me.REG[0])!=NIT_NULL);
   if (UNTAG_Bool(REGB0)) {
   } else {
@@ -22,6 +24,7 @@ val_t location___SourceFile___filename(val_t p0){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_location___SourceFile___filename__eq[] = "location::SourceFile::filename=";
 void location___SourceFile___filename__eq(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t tmp;
@@ -31,15 +34,17 @@ void location___SourceFile___filename__eq(val_t p0, val_t p1){
   fra.me.meth = LOCATE_location___SourceFile___filename__eq;
   fra.me.has_broke = 0;
   fra.me.REG_size = 2;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[1] = NIT_NULL;
   fra.me.REG[0] = p0;
   fra.me.REG[1] = p1;
-  /* ./location.nit:22 */
+  /* location.nit:22 */
   ATTR_location___SourceFile_____atfilename(fra.me.REG[0]) = fra.me.REG[1];
   stack_frame_head = fra.me.prev;
   return;
 }
+static const char LOCATE_location___SourceFile___string[] = "location::SourceFile::string";
 val_t location___SourceFile___string(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
@@ -50,9 +55,10 @@ val_t location___SourceFile___string(val_t p0){
   fra.me.meth = LOCATE_location___SourceFile___string;
   fra.me.has_broke = 0;
   fra.me.REG_size = 1;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[0] = p0;
-  /* ./location.nit:25 */
+  /* location.nit:25 */
   REGB0 = TAG_Bool(ATTR_location___SourceFile_____atstring(fra.me.REG[0])!=NIT_NULL);
   if (UNTAG_Bool(REGB0)) {
   } else {
@@ -62,6 +68,7 @@ val_t location___SourceFile___string(val_t p0){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_location___SourceFile___string__eq[] = "location::SourceFile::string=";
 void location___SourceFile___string__eq(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t tmp;
@@ -71,15 +78,17 @@ void location___SourceFile___string__eq(val_t p0, val_t p1){
   fra.me.meth = LOCATE_location___SourceFile___string__eq;
   fra.me.has_broke = 0;
   fra.me.REG_size = 2;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[1] = NIT_NULL;
   fra.me.REG[0] = p0;
   fra.me.REG[1] = p1;
-  /* ./location.nit:25 */
+  /* location.nit:25 */
   ATTR_location___SourceFile_____atstring(fra.me.REG[0]) = fra.me.REG[1];
   stack_frame_head = fra.me.prev;
   return;
 }
+static const char LOCATE_location___SourceFile___init[] = "location::SourceFile::init";
 void location___SourceFile___init(val_t p0, val_t p1, val_t p2, int* init_table){
   int itpos0 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_location___SourceFile].i;
   struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
@@ -93,185 +102,236 @@ void location___SourceFile___init(val_t p0, val_t p1, val_t p2, int* init_table)
   fra.me.meth = LOCATE_location___SourceFile___init;
   fra.me.has_broke = 0;
   fra.me.REG_size = 3;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[1] = NIT_NULL;
   fra.me.REG[2] = NIT_NULL;
   fra.me.REG[0] = p0;
   fra.me.REG[1] = p1;
   fra.me.REG[2] = p2;
-  /* ./location.nit:31 */
+  /* location.nit:31 */
   CALL_location___SourceFile___filename__eq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
-  /* ./location.nit:32 */
+  /* location.nit:32 */
   fra.me.REG[2] = CALL_standard___stream___IStream___read_all(fra.me.REG[2])(fra.me.REG[2]);
   CALL_location___SourceFile___string__eq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
-  /* ./location.nit:33 */
+  /* location.nit:33 */
   fra.me.REG[0] = CALL_location___SourceFile___line_starts(fra.me.REG[0])(fra.me.REG[0]);
   REGB0 = TAG_Int(0);
   REGB1 = TAG_Int(0);
-  CALL_standard___collection___abstract_collection___Map_____braeq(fra.me.REG[0])(fra.me.REG[0], REGB0, REGB1);
+  CALL_standard___collection___abstract_collection___Sequence_____braeq(fra.me.REG[0])(fra.me.REG[0], REGB0, REGB1);
   stack_frame_head = fra.me.prev;
   init_table[itpos0] = 1;
   return;
 }
+static const char LOCATE_location___SourceFile___from_string[] = "location::SourceFile::from_string";
+void location___SourceFile___from_string(val_t p0, val_t p1, val_t p2, int* init_table){
+  int itpos1 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_location___SourceFile].i;
+  struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t tmp;
+  if (init_table[itpos1]) return;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_location;
+  fra.me.line = 36;
+  fra.me.meth = LOCATE_location___SourceFile___from_string;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 3;
+  fra.me.nitni_local_ref_head = NULL;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  fra.me.REG[2] = p2;
+  /* location.nit:39 */
+  CALL_location___SourceFile___filename__eq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
+  /* location.nit:40 */
+  CALL_location___SourceFile___string__eq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[2]);
+  /* location.nit:41 */
+  fra.me.REG[0] = CALL_location___SourceFile___line_starts(fra.me.REG[0])(fra.me.REG[0]);
+  REGB0 = TAG_Int(0);
+  REGB1 = TAG_Int(0);
+  CALL_standard___collection___abstract_collection___Sequence_____braeq(fra.me.REG[0])(fra.me.REG[0], REGB0, REGB1);
+  stack_frame_head = fra.me.prev;
+  init_table[itpos1] = 1;
+  return;
+}
+static const char LOCATE_location___SourceFile___line_starts[] = "location::SourceFile::line_starts";
 val_t location___SourceFile___line_starts(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
   val_t tmp;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 36;
+  fra.me.line = 44;
   fra.me.meth = LOCATE_location___SourceFile___line_starts;
   fra.me.has_broke = 0;
   fra.me.REG_size = 1;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[0] = p0;
-  /* ./location.nit:36 */
+  /* location.nit:44 */
   REGB0 = TAG_Bool(ATTR_location___SourceFile_____atline_starts(fra.me.REG[0])!=NIT_NULL);
   if (UNTAG_Bool(REGB0)) {
   } else {
-    nit_abort("Uninitialized attribute %s", "@line_starts", LOCATE_location, 36);
+    nit_abort("Uninitialized attribute %s", "@line_starts", LOCATE_location, 44);
   }
   fra.me.REG[0] = ATTR_location___SourceFile_____atline_starts(fra.me.REG[0]);
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_location___SourceFile___line_starts__eq[] = "location::SourceFile::line_starts=";
 void location___SourceFile___line_starts__eq(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t tmp;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 36;
+  fra.me.line = 44;
   fra.me.meth = LOCATE_location___SourceFile___line_starts__eq;
   fra.me.has_broke = 0;
   fra.me.REG_size = 2;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[1] = NIT_NULL;
   fra.me.REG[0] = p0;
   fra.me.REG[1] = p1;
-  /* ./location.nit:36 */
+  /* location.nit:44 */
   ATTR_location___SourceFile_____atline_starts(fra.me.REG[0]) = fra.me.REG[1];
   stack_frame_head = fra.me.prev;
   return;
 }
+static const char LOCATE_location___Location___file[] = "location::Location::file";
 val_t location___Location___file(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t tmp;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 45;
+  fra.me.line = 53;
   fra.me.meth = LOCATE_location___Location___file;
   fra.me.has_broke = 0;
   fra.me.REG_size = 1;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[0] = p0;
-  /* ./location.nit:45 */
+  /* location.nit:53 */
   fra.me.REG[0] = ATTR_location___Location____file(fra.me.REG[0]);
   stack_frame_head = fra.me.prev;
   return fra.me.REG[0];
 }
+static const char LOCATE_location___Location___line_start[] = "location::Location::line_start";
 val_t location___Location___line_start(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
   val_t tmp;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 46;
+  fra.me.line = 54;
   fra.me.meth = LOCATE_location___Location___line_start;
   fra.me.has_broke = 0;
   fra.me.REG_size = 1;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[0] = p0;
-  /* ./location.nit:46 */
+  /* location.nit:54 */
   REGB0 = TAG_Bool(ATTR_location___Location____line_start(fra.me.REG[0])!=NIT_NULL);
   if (UNTAG_Bool(REGB0)) {
   } else {
-    nit_abort("Uninitialized attribute %s", "_line_start", LOCATE_location, 46);
+    nit_abort("Uninitialized attribute %s", "_line_start", LOCATE_location, 54);
   }
   REGB0 = ATTR_location___Location____line_start(fra.me.REG[0]);
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_location___Location___line_end[] = "location::Location::line_end";
 val_t location___Location___line_end(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
   val_t tmp;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 47;
+  fra.me.line = 55;
   fra.me.meth = LOCATE_location___Location___line_end;
   fra.me.has_broke = 0;
   fra.me.REG_size = 1;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[0] = p0;
-  /* ./location.nit:47 */
+  /* location.nit:55 */
   REGB0 = TAG_Bool(ATTR_location___Location____line_end(fra.me.REG[0])!=NIT_NULL);
   if (UNTAG_Bool(REGB0)) {
   } else {
-    nit_abort("Uninitialized attribute %s", "_line_end", LOCATE_location, 47);
+    nit_abort("Uninitialized attribute %s", "_line_end", LOCATE_location, 55);
   }
   REGB0 = ATTR_location___Location____line_end(fra.me.REG[0]);
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_location___Location___column_start[] = "location::Location::column_start";
 val_t location___Location___column_start(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
   val_t tmp;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 48;
+  fra.me.line = 56;
   fra.me.meth = LOCATE_location___Location___column_start;
   fra.me.has_broke = 0;
   fra.me.REG_size = 1;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[0] = p0;
-  /* ./location.nit:48 */
+  /* location.nit:56 */
   REGB0 = TAG_Bool(ATTR_location___Location____column_start(fra.me.REG[0])!=NIT_NULL);
   if (UNTAG_Bool(REGB0)) {
   } else {
-    nit_abort("Uninitialized attribute %s", "_column_start", LOCATE_location, 48);
+    nit_abort("Uninitialized attribute %s", "_column_start", LOCATE_location, 56);
   }
   REGB0 = ATTR_location___Location____column_start(fra.me.REG[0]);
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_location___Location___column_end[] = "location::Location::column_end";
 val_t location___Location___column_end(val_t p0){
   struct {struct stack_frame_t me;} fra;
   val_t REGB0;
   val_t tmp;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 49;
+  fra.me.line = 57;
   fra.me.meth = LOCATE_location___Location___column_end;
   fra.me.has_broke = 0;
   fra.me.REG_size = 1;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[0] = p0;
-  /* ./location.nit:49 */
+  /* location.nit:57 */
   REGB0 = TAG_Bool(ATTR_location___Location____column_end(fra.me.REG[0])!=NIT_NULL);
   if (UNTAG_Bool(REGB0)) {
   } else {
-    nit_abort("Uninitialized attribute %s", "_column_end", LOCATE_location, 49);
+    nit_abort("Uninitialized attribute %s", "_column_end", LOCATE_location, 57);
   }
   REGB0 = ATTR_location___Location____column_end(fra.me.REG[0]);
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_location___Location___init[] = "location::Location::init";
 void location___Location___init(val_t p0, val_t p1, val_t p2, val_t p3, val_t p4, val_t p5, int* init_table){
-  int itpos1 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_location___Location].i;
+  int itpos2 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_location___Location].i;
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t REGB0;
   val_t REGB1;
   val_t REGB2;
   val_t REGB3;
   val_t tmp;
-  if (init_table[itpos1]) return;
+  if (init_table[itpos2]) return;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 51;
+  fra.me.line = 59;
   fra.me.meth = LOCATE_location___Location___init;
   fra.me.has_broke = 0;
   fra.me.REG_size = 2;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[1] = NIT_NULL;
   fra.me.REG[0] = p0;
@@ -280,49 +340,292 @@ void location___Location___init(val_t p0, val_t p1, val_t p2, val_t p3, val_t p4
   REGB1 = p3;
   REGB2 = p4;
   REGB3 = p5;
-  /* ./location.nit:52 */
+  /* location.nit:60 */
   ATTR_location___Location____file(fra.me.REG[0]) = fra.me.REG[1];
-  /* ./location.nit:53 */
+  /* location.nit:61 */
   ATTR_location___Location____line_start(fra.me.REG[0]) = REGB0;
-  /* ./location.nit:54 */
+  /* location.nit:62 */
   ATTR_location___Location____line_end(fra.me.REG[0]) = REGB1;
-  /* ./location.nit:55 */
+  /* location.nit:63 */
   ATTR_location___Location____column_start(fra.me.REG[0]) = REGB2;
-  /* ./location.nit:56 */
+  /* location.nit:64 */
   ATTR_location___Location____column_end(fra.me.REG[0]) = REGB3;
   stack_frame_head = fra.me.prev;
-  init_table[itpos1] = 1;
+  init_table[itpos2] = 1;
+  return;
+}
+static const char LOCATE_location___Location___text[] = "location::Location::text";
+val_t location___Location___text(val_t p0){
+  struct {struct stack_frame_t me; val_t MORE_REG[4];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t REGB2;
+  val_t REGB3;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_location;
+  fra.me.line = 67;
+  fra.me.meth = LOCATE_location___Location___text;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 5;
+  fra.me.nitni_local_ref_head = NULL;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* location.nit:70 */
+  fra.me.REG[1] = CALL_location___Location___text_cache(fra.me.REG[0])(fra.me.REG[0]);
+  /* location.nit:71 */
+  REGB0 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+      REGB1 = TAG_Bool(0);
+      REGB0 = REGB1;
+    } else {
+      REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], NIT_NULL);
+      REGB0 = REGB1;
+    }
+  }
+  REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
+  if (UNTAG_Bool(REGB0)) {
+    fra.me.REG[2] = fra.me.REG[1];
+    goto label1;
+  }
+  /* location.nit:72 */
+  fra.me.REG[3] = fra.me.REG[0];
+  /* location.nit:73 */
+  fra.me.REG[4] = CALL_location___Location___file(fra.me.REG[3])(fra.me.REG[3]);
+  REGB0 = TAG_Bool(fra.me.REG[4]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+    nit_abort("Reciever is null", NULL, LOCATE_location, 73);
+  }
+  fra.me.REG[4] = CALL_location___SourceFile___line_starts(fra.me.REG[4])(fra.me.REG[4]);
+  REGB0 = CALL_location___Location___line_start(fra.me.REG[3])(fra.me.REG[3]);
+  REGB1 = TAG_Int(1);
+  /* ../lib/standard/kernel.nit:240 */
+  REGB1 = TAG_Int(UNTAG_Int(REGB0)-UNTAG_Int(REGB1));
+  /* ../lib/standard/collection/array.nit:280 */
+  REGB0 = TAG_Int(0);
+  REGB2 = TAG_Bool(VAL_ISA(REGB0, VTCOLOR_standard___kernel___Comparable___OTHER(REGB1), VTID_standard___kernel___Comparable___OTHER(REGB1))) /*cast OTHER*/;
+  if (UNTAG_Bool(REGB2)) {
+  } else {
+    nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+  }
+  /* ../lib/standard/kernel.nit:236 */
+  REGB0 = TAG_Bool(UNTAG_Int(REGB1)>=UNTAG_Int(REGB0));
+  /* ../lib/standard/collection/array.nit:280 */
+  if (UNTAG_Bool(REGB0)) {
+    REGB0 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4])!=NIT_NULL);
+    if (UNTAG_Bool(REGB0)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 280);
+    }
+    REGB0 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4]);
+    REGB2 = TAG_Bool(VAL_ISA(REGB0, VTCOLOR_standard___kernel___Comparable___OTHER(REGB1), VTID_standard___kernel___Comparable___OTHER(REGB1))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB2)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:235 */
+    REGB0 = TAG_Bool(UNTAG_Int(REGB1)<UNTAG_Int(REGB0));
+  } else {
+    /* ../lib/standard/collection/array.nit:280 */
+    REGB2 = TAG_Bool(0);
+    REGB0 = REGB2;
+  }
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 280);
+  }
+  /* ../lib/standard/collection/array.nit:281 */
+  fra.me.REG[4] = ATTR_standard___collection___array___Array____items(fra.me.REG[4]);
+  REGB0 = TAG_Bool(fra.me.REG[4]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+    nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 281);
+  }
+  /* ../lib/standard/collection/array.nit:724 */
+  fra.me.REG[4] = ((Nit_NativeArray)fra.me.REG[4])->val[UNTAG_Int(REGB1)];
+  /* ../lib/standard/collection/array.nit:281 */
+  goto label2;
+  label2: while(0);
+  /* location.nit:73 */
+  REGB1 = CALL_location___Location___column_start(fra.me.REG[3])(fra.me.REG[3]);
+  REGB0 = TAG_Bool(fra.me.REG[4]==NIT_NULL);
+  if (UNTAG_Bool(REGB0)) {
+    nit_abort("Reciever is null", NULL, LOCATE_location, 73);
+  }
+  /* ../lib/standard/kernel.nit:238 */
+  REGB1 = TAG_Int(UNTAG_Int(fra.me.REG[4])+UNTAG_Int(REGB1));
+  /* location.nit:73 */
+  REGB0 = TAG_Int(1);
+  /* ../lib/standard/kernel.nit:240 */
+  REGB0 = TAG_Int(UNTAG_Int(REGB1)-UNTAG_Int(REGB0));
+  /* location.nit:74 */
+  fra.me.REG[4] = CALL_location___Location___file(fra.me.REG[3])(fra.me.REG[3]);
+  REGB1 = TAG_Bool(fra.me.REG[4]==NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+    nit_abort("Reciever is null", NULL, LOCATE_location, 74);
+  }
+  fra.me.REG[4] = CALL_location___SourceFile___line_starts(fra.me.REG[4])(fra.me.REG[4]);
+  REGB1 = CALL_location___Location___line_end(fra.me.REG[3])(fra.me.REG[3]);
+  REGB2 = TAG_Int(1);
+  /* ../lib/standard/kernel.nit:240 */
+  REGB2 = TAG_Int(UNTAG_Int(REGB1)-UNTAG_Int(REGB2));
+  /* ../lib/standard/collection/array.nit:280 */
+  REGB1 = TAG_Int(0);
+  REGB3 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB2), VTID_standard___kernel___Comparable___OTHER(REGB2))) /*cast OTHER*/;
+  if (UNTAG_Bool(REGB3)) {
+  } else {
+    nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+  }
+  /* ../lib/standard/kernel.nit:236 */
+  REGB1 = TAG_Bool(UNTAG_Int(REGB2)>=UNTAG_Int(REGB1));
+  /* ../lib/standard/collection/array.nit:280 */
+  if (UNTAG_Bool(REGB1)) {
+    REGB1 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4])!=NIT_NULL);
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 280);
+    }
+    REGB1 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[4]);
+    REGB3 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB2), VTID_standard___kernel___Comparable___OTHER(REGB2))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB3)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:235 */
+    REGB1 = TAG_Bool(UNTAG_Int(REGB2)<UNTAG_Int(REGB1));
+  } else {
+    /* ../lib/standard/collection/array.nit:280 */
+    REGB3 = TAG_Bool(0);
+    REGB1 = REGB3;
+  }
+  if (UNTAG_Bool(REGB1)) {
+  } else {
+    nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 280);
+  }
+  /* ../lib/standard/collection/array.nit:281 */
+  fra.me.REG[4] = ATTR_standard___collection___array___Array____items(fra.me.REG[4]);
+  REGB1 = TAG_Bool(fra.me.REG[4]==NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+    nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 281);
+  }
+  /* ../lib/standard/collection/array.nit:724 */
+  fra.me.REG[4] = ((Nit_NativeArray)fra.me.REG[4])->val[UNTAG_Int(REGB2)];
+  /* ../lib/standard/collection/array.nit:281 */
+  goto label3;
+  label3: while(0);
+  /* location.nit:74 */
+  REGB2 = CALL_location___Location___column_end(fra.me.REG[3])(fra.me.REG[3]);
+  REGB1 = TAG_Bool(fra.me.REG[4]==NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+    nit_abort("Reciever is null", NULL, LOCATE_location, 74);
+  }
+  /* ../lib/standard/kernel.nit:238 */
+  REGB2 = TAG_Int(UNTAG_Int(fra.me.REG[4])+UNTAG_Int(REGB2));
+  /* location.nit:74 */
+  REGB1 = TAG_Int(1);
+  /* ../lib/standard/kernel.nit:240 */
+  REGB1 = TAG_Int(UNTAG_Int(REGB2)-UNTAG_Int(REGB1));
+  /* location.nit:75 */
+  fra.me.REG[3] = CALL_location___Location___file(fra.me.REG[3])(fra.me.REG[3]);
+  REGB2 = TAG_Bool(fra.me.REG[3]==NIT_NULL);
+  if (UNTAG_Bool(REGB2)) {
+    nit_abort("Reciever is null", NULL, LOCATE_location, 75);
+  }
+  fra.me.REG[3] = CALL_location___SourceFile___string(fra.me.REG[3])(fra.me.REG[3]);
+  /* ../lib/standard/kernel.nit:240 */
+  REGB1 = TAG_Int(UNTAG_Int(REGB1)-UNTAG_Int(REGB0));
+  /* location.nit:75 */
+  REGB2 = TAG_Int(1);
+  /* ../lib/standard/kernel.nit:238 */
+  REGB2 = TAG_Int(UNTAG_Int(REGB1)+UNTAG_Int(REGB2));
+  /* location.nit:75 */
+  fra.me.REG[3] = CALL_standard___string___AbstractString___substring(fra.me.REG[3])(fra.me.REG[3], REGB0, REGB2);
+  fra.me.REG[1] = fra.me.REG[3];
+  /* location.nit:76 */
+  CALL_location___Location___text_cache__eq(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
+  /* location.nit:77 */
+  fra.me.REG[2] = fra.me.REG[1];
+  goto label1;
+  label1: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[2];
+}
+static const char LOCATE_location___Location___text_cache[] = "location::Location::text_cache";
+val_t location___Location___text_cache(val_t p0){
+  struct {struct stack_frame_t me;} fra;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_location;
+  fra.me.line = 80;
+  fra.me.meth = LOCATE_location___Location___text_cache;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 1;
+  fra.me.nitni_local_ref_head = NULL;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  /* location.nit:80 */
+  fra.me.REG[0] = ATTR_location___Location_____attext_cache(fra.me.REG[0]);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[0];
+}
+static const char LOCATE_location___Location___text_cache__eq[] = "location::Location::text_cache=";
+void location___Location___text_cache__eq(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
+  val_t tmp;
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_location;
+  fra.me.line = 80;
+  fra.me.meth = LOCATE_location___Location___text_cache__eq;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 2;
+  fra.me.nitni_local_ref_head = NULL;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* location.nit:80 */
+  ATTR_location___Location_____attext_cache(fra.me.REG[0]) = fra.me.REG[1];
+  stack_frame_head = fra.me.prev;
   return;
 }
+static const char LOCATE_location___Location___with_file[] = "location::Location::with_file";
 void location___Location___with_file(val_t p0, val_t p1, int* init_table){
-  int itpos2 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_location___Location].i;
+  int itpos3 = VAL2OBJ(p0)->vft[INIT_TABLE_POS_location___Location].i;
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t REGB0;
   val_t REGB1;
   val_t REGB2;
   val_t REGB3;
   val_t tmp;
-  if (init_table[itpos2]) return;
+  if (init_table[itpos3]) return;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 59;
+  fra.me.line = 82;
   fra.me.meth = LOCATE_location___Location___with_file;
   fra.me.has_broke = 0;
   fra.me.REG_size = 2;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[1] = NIT_NULL;
   fra.me.REG[0] = p0;
   fra.me.REG[1] = p1;
-  /* ./location.nit:59 */
+  /* location.nit:82 */
   REGB0 = TAG_Int(0);
   REGB1 = TAG_Int(0);
   REGB2 = TAG_Int(0);
   REGB3 = TAG_Int(0);
   CALL_location___Location___init(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1], REGB0, REGB1, REGB2, REGB3, init_table);
   stack_frame_head = fra.me.prev;
-  init_table[itpos2] = 1;
+  init_table[itpos3] = 1;
   return;
 }
+static const char LOCATE_location___Location_____eqeq[] = "location::Location::(kernel::Object::==)";
 val_t location___Location_____eqeq(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[3];} fra;
   val_t REGB0;
@@ -332,23 +635,24 @@ val_t location___Location_____eqeq(val_t p0, val_t p1){
   val_t tmp;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 61;
+  fra.me.line = 84;
   fra.me.meth = LOCATE_location___Location_____eqeq;
   fra.me.has_broke = 0;
   fra.me.REG_size = 4;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[1] = NIT_NULL;
   fra.me.REG[2] = NIT_NULL;
   fra.me.REG[3] = NIT_NULL;
   fra.me.REG[0] = p0;
   fra.me.REG[1] = p1;
-  /* ./location.nit:62 */
+  /* location.nit:85 */
   REGB0 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB0)) {
   } else {
     REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      REGB1 = TAG_Bool(false);
+      REGB1 = TAG_Bool(0);
       REGB0 = REGB1;
     } else {
       REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], NIT_NULL);
@@ -356,21 +660,21 @@ val_t location___Location_____eqeq(val_t p0, val_t p1){
     }
   }
   if (UNTAG_Bool(REGB0)) {
-    REGB0 = TAG_Bool(false);
+    REGB0 = TAG_Bool(0);
     goto label1;
   }
-  /* ./location.nit:63 */
+  /* location.nit:86 */
   REGB1 = TAG_Bool((fra.me.REG[1]!=NIT_NULL) && VAL_ISA(fra.me.REG[1], COLOR_location___Location, ID_location___Location)) /*cast Location*/;
   REGB1 = TAG_Bool(!UNTAG_Bool(REGB1));
   if (UNTAG_Bool(REGB1)) {
-    REGB1 = TAG_Bool(false);
+    REGB1 = TAG_Bool(0);
     REGB0 = REGB1;
     goto label1;
   }
-  /* ./location.nit:65 */
+  /* location.nit:88 */
   REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB1)) {
-    nit_abort("Reciever is null", NULL, LOCATE_location, 65);
+    nit_abort("Reciever is null", NULL, LOCATE_location, 88);
   }
   fra.me.REG[2] = CALL_location___Location___file(fra.me.REG[1])(fra.me.REG[1]);
   fra.me.REG[3] = CALL_location___Location___file(fra.me.REG[0])(fra.me.REG[0]);
@@ -379,7 +683,7 @@ val_t location___Location_____eqeq(val_t p0, val_t p1){
   } else {
     REGB2 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
     if (UNTAG_Bool(REGB2)) {
-      REGB2 = TAG_Bool(false);
+      REGB2 = TAG_Bool(0);
       REGB1 = REGB2;
     } else {
       REGB2 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3]);
@@ -388,102 +692,103 @@ val_t location___Location_____eqeq(val_t p0, val_t p1){
   }
   REGB1 = TAG_Bool(!UNTAG_Bool(REGB1));
   if (UNTAG_Bool(REGB1)) {
-    REGB1 = TAG_Bool(false);
+    REGB1 = TAG_Bool(0);
     REGB0 = REGB1;
     goto label1;
   }
-  /* ./location.nit:66 */
+  /* location.nit:89 */
   REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB1)) {
-    nit_abort("Reciever is null", NULL, LOCATE_location, 66);
+    nit_abort("Reciever is null", NULL, LOCATE_location, 89);
   }
   REGB1 = CALL_location___Location___line_start(fra.me.REG[1])(fra.me.REG[1]);
   REGB2 = CALL_location___Location___line_start(fra.me.REG[0])(fra.me.REG[0]);
   REGB3 = TAG_Bool(IS_EQUAL_OO(REGB1,REGB2));
   if (UNTAG_Bool(REGB3)) {
   } else {
-    /* ./../lib/standard//kernel.nit:210 */
+    /* ../lib/standard/kernel.nit:230 */
     REGB2 = TAG_Bool((REGB1)==(REGB2));
-    /* ./location.nit:66 */
+    /* location.nit:89 */
     REGB3 = REGB2;
   }
   REGB3 = TAG_Bool(!UNTAG_Bool(REGB3));
   if (UNTAG_Bool(REGB3)) {
-    REGB3 = TAG_Bool(false);
+    REGB3 = TAG_Bool(0);
     REGB0 = REGB3;
     goto label1;
   }
-  /* ./location.nit:67 */
+  /* location.nit:90 */
   REGB3 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB3)) {
-    nit_abort("Reciever is null", NULL, LOCATE_location, 67);
+    nit_abort("Reciever is null", NULL, LOCATE_location, 90);
   }
   REGB3 = CALL_location___Location___line_end(fra.me.REG[1])(fra.me.REG[1]);
   REGB2 = CALL_location___Location___line_end(fra.me.REG[0])(fra.me.REG[0]);
   REGB1 = TAG_Bool(IS_EQUAL_OO(REGB3,REGB2));
   if (UNTAG_Bool(REGB1)) {
   } else {
-    /* ./../lib/standard//kernel.nit:210 */
+    /* ../lib/standard/kernel.nit:230 */
     REGB2 = TAG_Bool((REGB3)==(REGB2));
-    /* ./location.nit:67 */
+    /* location.nit:90 */
     REGB1 = REGB2;
   }
   REGB1 = TAG_Bool(!UNTAG_Bool(REGB1));
   if (UNTAG_Bool(REGB1)) {
-    REGB1 = TAG_Bool(false);
+    REGB1 = TAG_Bool(0);
     REGB0 = REGB1;
     goto label1;
   }
-  /* ./location.nit:68 */
+  /* location.nit:91 */
   REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB1)) {
-    nit_abort("Reciever is null", NULL, LOCATE_location, 68);
+    nit_abort("Reciever is null", NULL, LOCATE_location, 91);
   }
   REGB1 = CALL_location___Location___column_start(fra.me.REG[1])(fra.me.REG[1]);
   REGB2 = CALL_location___Location___column_start(fra.me.REG[0])(fra.me.REG[0]);
   REGB3 = TAG_Bool(IS_EQUAL_OO(REGB1,REGB2));
   if (UNTAG_Bool(REGB3)) {
   } else {
-    /* ./../lib/standard//kernel.nit:210 */
+    /* ../lib/standard/kernel.nit:230 */
     REGB2 = TAG_Bool((REGB1)==(REGB2));
-    /* ./location.nit:68 */
+    /* location.nit:91 */
     REGB3 = REGB2;
   }
   REGB3 = TAG_Bool(!UNTAG_Bool(REGB3));
   if (UNTAG_Bool(REGB3)) {
-    REGB3 = TAG_Bool(false);
+    REGB3 = TAG_Bool(0);
     REGB0 = REGB3;
     goto label1;
   }
-  /* ./location.nit:69 */
+  /* location.nit:92 */
   REGB3 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB3)) {
-    nit_abort("Reciever is null", NULL, LOCATE_location, 69);
+    nit_abort("Reciever is null", NULL, LOCATE_location, 92);
   }
   REGB3 = CALL_location___Location___column_end(fra.me.REG[1])(fra.me.REG[1]);
   REGB2 = CALL_location___Location___column_end(fra.me.REG[0])(fra.me.REG[0]);
   REGB1 = TAG_Bool(IS_EQUAL_OO(REGB3,REGB2));
   if (UNTAG_Bool(REGB1)) {
   } else {
-    /* ./../lib/standard//kernel.nit:210 */
+    /* ../lib/standard/kernel.nit:230 */
     REGB2 = TAG_Bool((REGB3)==(REGB2));
-    /* ./location.nit:69 */
+    /* location.nit:92 */
     REGB1 = REGB2;
   }
   REGB1 = TAG_Bool(!UNTAG_Bool(REGB1));
   if (UNTAG_Bool(REGB1)) {
-    REGB1 = TAG_Bool(false);
+    REGB1 = TAG_Bool(0);
     REGB0 = REGB1;
     goto label1;
   }
-  /* ./location.nit:71 */
-  REGB1 = TAG_Bool(true);
+  /* location.nit:94 */
+  REGB1 = TAG_Bool(1);
   REGB0 = REGB1;
   goto label1;
   label1: while(0);
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_location___Location___located_in[] = "location::Location::located_in";
 val_t location___Location___located_in(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t REGB0;
@@ -493,21 +798,22 @@ val_t location___Location___located_in(val_t p0, val_t p1){
   val_t tmp;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 74;
+  fra.me.line = 97;
   fra.me.meth = LOCATE_location___Location___located_in;
   fra.me.has_broke = 0;
   fra.me.REG_size = 2;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[1] = NIT_NULL;
   fra.me.REG[0] = p0;
   fra.me.REG[1] = p1;
-  /* ./location.nit:75 */
+  /* location.nit:98 */
   REGB0 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB0)) {
   } else {
     REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      REGB1 = TAG_Bool(false);
+      REGB1 = TAG_Bool(0);
       REGB0 = REGB1;
     } else {
       REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], NIT_NULL);
@@ -515,143 +821,174 @@ val_t location___Location___located_in(val_t p0, val_t p1){
     }
   }
   if (UNTAG_Bool(REGB0)) {
-    REGB0 = TAG_Bool(false);
+    REGB0 = TAG_Bool(0);
     goto label1;
   }
-  /* ./location.nit:77 */
+  /* location.nit:100 */
   REGB1 = CALL_location___Location___line_start(fra.me.REG[0])(fra.me.REG[0]);
   REGB2 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB2)) {
-    nit_abort("Reciever is null", NULL, LOCATE_location, 77);
+    nit_abort("Reciever is null", NULL, LOCATE_location, 100);
   }
   REGB2 = CALL_location___Location___line_start(fra.me.REG[1])(fra.me.REG[1]);
-  /* ./../lib/standard//kernel.nit:215 */
+  REGB3 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB1), VTID_standard___kernel___Comparable___OTHER(REGB1))) /*cast OTHER*/;
+  if (UNTAG_Bool(REGB3)) {
+  } else {
+    nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+  }
+  /* ../lib/standard/kernel.nit:235 */
   REGB2 = TAG_Bool(UNTAG_Int(REGB1)<UNTAG_Int(REGB2));
-  /* ./location.nit:77 */
+  /* location.nit:100 */
   if (UNTAG_Bool(REGB2)) {
-    REGB2 = TAG_Bool(false);
+    REGB2 = TAG_Bool(0);
     REGB0 = REGB2;
     goto label1;
   }
-  /* ./location.nit:78 */
+  /* location.nit:101 */
   REGB2 = CALL_location___Location___line_start(fra.me.REG[0])(fra.me.REG[0]);
   REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB1)) {
-    nit_abort("Reciever is null", NULL, LOCATE_location, 78);
+    nit_abort("Reciever is null", NULL, LOCATE_location, 101);
   }
   REGB1 = CALL_location___Location___line_end(fra.me.REG[1])(fra.me.REG[1]);
-  /* ./../lib/standard//kernel.nit:217 */
+  REGB3 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB2), VTID_standard___kernel___Comparable___OTHER(REGB2))) /*cast OTHER*/;
+  if (UNTAG_Bool(REGB3)) {
+  } else {
+    nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+  }
+  /* ../lib/standard/kernel.nit:237 */
   REGB1 = TAG_Bool(UNTAG_Int(REGB2)>UNTAG_Int(REGB1));
-  /* ./location.nit:78 */
+  /* location.nit:101 */
   if (UNTAG_Bool(REGB1)) {
-    REGB1 = TAG_Bool(false);
+    REGB1 = TAG_Bool(0);
     REGB0 = REGB1;
     goto label1;
   }
-  /* ./location.nit:80 */
+  /* location.nit:103 */
   REGB1 = CALL_location___Location___line_end(fra.me.REG[0])(fra.me.REG[0]);
   REGB2 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB2)) {
-    nit_abort("Reciever is null", NULL, LOCATE_location, 80);
+    nit_abort("Reciever is null", NULL, LOCATE_location, 103);
   }
   REGB2 = CALL_location___Location___line_end(fra.me.REG[1])(fra.me.REG[1]);
-  /* ./../lib/standard//kernel.nit:217 */
+  REGB3 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB1), VTID_standard___kernel___Comparable___OTHER(REGB1))) /*cast OTHER*/;
+  if (UNTAG_Bool(REGB3)) {
+  } else {
+    nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+  }
+  /* ../lib/standard/kernel.nit:237 */
   REGB2 = TAG_Bool(UNTAG_Int(REGB1)>UNTAG_Int(REGB2));
-  /* ./location.nit:80 */
+  /* location.nit:103 */
   if (UNTAG_Bool(REGB2)) {
-    REGB2 = TAG_Bool(false);
+    REGB2 = TAG_Bool(0);
     REGB0 = REGB2;
     goto label1;
   }
-  /* ./location.nit:82 */
+  /* location.nit:105 */
   REGB2 = CALL_location___Location___line_start(fra.me.REG[0])(fra.me.REG[0]);
   REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB1)) {
-    nit_abort("Reciever is null", NULL, LOCATE_location, 82);
+    nit_abort("Reciever is null", NULL, LOCATE_location, 105);
   }
   REGB1 = CALL_location___Location___line_start(fra.me.REG[1])(fra.me.REG[1]);
   REGB3 = TAG_Bool(IS_EQUAL_OO(REGB2,REGB1));
   if (UNTAG_Bool(REGB3)) {
   } else {
-    /* ./../lib/standard//kernel.nit:210 */
+    /* ../lib/standard/kernel.nit:230 */
     REGB1 = TAG_Bool((REGB2)==(REGB1));
-    /* ./location.nit:82 */
+    /* location.nit:105 */
     REGB3 = REGB1;
   }
   if (UNTAG_Bool(REGB3)) {
-    /* ./location.nit:83 */
+    /* location.nit:106 */
     REGB3 = CALL_location___Location___column_start(fra.me.REG[0])(fra.me.REG[0]);
     REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      nit_abort("Reciever is null", NULL, LOCATE_location, 83);
+      nit_abort("Reciever is null", NULL, LOCATE_location, 106);
     }
     REGB1 = CALL_location___Location___column_start(fra.me.REG[1])(fra.me.REG[1]);
-    /* ./../lib/standard//kernel.nit:215 */
+    REGB2 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB3), VTID_standard___kernel___Comparable___OTHER(REGB3))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB2)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:235 */
     REGB1 = TAG_Bool(UNTAG_Int(REGB3)<UNTAG_Int(REGB1));
-    /* ./location.nit:83 */
+    /* location.nit:106 */
     if (UNTAG_Bool(REGB1)) {
-      REGB1 = TAG_Bool(false);
+      REGB1 = TAG_Bool(0);
       REGB0 = REGB1;
       goto label1;
     }
-    /* ./location.nit:84 */
+    /* location.nit:107 */
     REGB1 = CALL_location___Location___column_start(fra.me.REG[0])(fra.me.REG[0]);
     REGB3 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
     if (UNTAG_Bool(REGB3)) {
-      nit_abort("Reciever is null", NULL, LOCATE_location, 84);
+      nit_abort("Reciever is null", NULL, LOCATE_location, 107);
     }
     REGB3 = CALL_location___Location___column_end(fra.me.REG[1])(fra.me.REG[1]);
-    /* ./../lib/standard//kernel.nit:217 */
+    REGB2 = TAG_Bool(VAL_ISA(REGB3, VTCOLOR_standard___kernel___Comparable___OTHER(REGB1), VTID_standard___kernel___Comparable___OTHER(REGB1))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB2)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:237 */
     REGB3 = TAG_Bool(UNTAG_Int(REGB1)>UNTAG_Int(REGB3));
-    /* ./location.nit:84 */
+    /* location.nit:107 */
     if (UNTAG_Bool(REGB3)) {
-      REGB3 = TAG_Bool(false);
+      REGB3 = TAG_Bool(0);
       REGB0 = REGB3;
       goto label1;
     }
   }
-  /* ./location.nit:87 */
+  /* location.nit:110 */
   REGB3 = CALL_location___Location___line_end(fra.me.REG[0])(fra.me.REG[0]);
   REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB1)) {
-    nit_abort("Reciever is null", NULL, LOCATE_location, 87);
+    nit_abort("Reciever is null", NULL, LOCATE_location, 110);
   }
   REGB1 = CALL_location___Location___line_end(fra.me.REG[1])(fra.me.REG[1]);
   REGB2 = TAG_Bool(IS_EQUAL_OO(REGB3,REGB1));
   if (UNTAG_Bool(REGB2)) {
   } else {
-    /* ./../lib/standard//kernel.nit:210 */
+    /* ../lib/standard/kernel.nit:230 */
     REGB1 = TAG_Bool((REGB3)==(REGB1));
-    /* ./location.nit:87 */
+    /* location.nit:110 */
     REGB2 = REGB1;
   }
   if (UNTAG_Bool(REGB2)) {
     REGB2 = CALL_location___Location___column_end(fra.me.REG[0])(fra.me.REG[0]);
     REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      nit_abort("Reciever is null", NULL, LOCATE_location, 87);
+      nit_abort("Reciever is null", NULL, LOCATE_location, 110);
     }
     REGB1 = CALL_location___Location___column_end(fra.me.REG[1])(fra.me.REG[1]);
-    /* ./../lib/standard//kernel.nit:217 */
+    REGB3 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB2), VTID_standard___kernel___Comparable___OTHER(REGB2))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB3)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:237 */
     REGB1 = TAG_Bool(UNTAG_Int(REGB2)>UNTAG_Int(REGB1));
   } else {
-    /* ./location.nit:87 */
-    REGB2 = TAG_Bool(false);
+    /* location.nit:110 */
+    REGB2 = TAG_Bool(0);
     REGB1 = REGB2;
   }
   if (UNTAG_Bool(REGB1)) {
-    REGB1 = TAG_Bool(false);
+    REGB1 = TAG_Bool(0);
     REGB0 = REGB1;
     goto label1;
   }
-  /* ./location.nit:89 */
-  REGB1 = TAG_Bool(true);
+  /* location.nit:112 */
+  REGB1 = TAG_Bool(1);
   REGB0 = REGB1;
   goto label1;
   label1: while(0);
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_location___Location___to_s[] = "location::Location::(string::Object::to_s)";
 val_t location___Location___to_s(val_t p0){
   struct {struct stack_frame_t me; val_t MORE_REG[4];} fra;
   val_t REGB0;
@@ -677,17 +1014,18 @@ val_t location___Location___to_s(val_t p0){
     static val_t once_value_18; /* Once value */
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 92;
+  fra.me.line = 115;
   fra.me.meth = LOCATE_location___Location___to_s;
   fra.me.has_broke = 0;
   fra.me.REG_size = 5;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[1] = NIT_NULL;
   fra.me.REG[2] = NIT_NULL;
   fra.me.REG[3] = NIT_NULL;
   fra.me.REG[4] = NIT_NULL;
   fra.me.REG[0] = p0;
-  /* ./location.nit:93 */
+  /* location.nit:116 */
   if (!once_value_1) {
     fra.me.REG[1] = BOX_NativeString("");
     REGB0 = TAG_Int(0);
@@ -696,14 +1034,14 @@ val_t location___Location___to_s(val_t p0){
     register_static_object(&once_value_1);
   } else fra.me.REG[1] = once_value_1;
   fra.me.REG[1] = fra.me.REG[1];
-  /* ./location.nit:94 */
+  /* location.nit:117 */
   fra.me.REG[2] = CALL_location___Location___file(fra.me.REG[0])(fra.me.REG[0]);
   REGB0 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
   if (UNTAG_Bool(REGB0)) {
   } else {
     REGB1 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      REGB1 = TAG_Bool(false);
+      REGB1 = TAG_Bool(0);
       REGB0 = REGB1;
     } else {
       REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[2])(fra.me.REG[2], NIT_NULL);
@@ -712,33 +1050,38 @@ val_t location___Location___to_s(val_t p0){
   }
   REGB0 = TAG_Bool(!UNTAG_Bool(REGB0));
   if (UNTAG_Bool(REGB0)) {
-    /* ./location.nit:95 */
+    /* location.nit:118 */
     fra.me.REG[2] = CALL_location___Location___file(fra.me.REG[0])(fra.me.REG[0]);
     REGB0 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
     if (UNTAG_Bool(REGB0)) {
-      nit_abort("Reciever is null", NULL, LOCATE_location, 95);
+      nit_abort("Reciever is null", NULL, LOCATE_location, 118);
     }
     fra.me.REG[2] = CALL_location___SourceFile___filename(fra.me.REG[2])(fra.me.REG[2]);
     fra.me.REG[1] = fra.me.REG[2];
-    /* ./location.nit:96 */
+    /* location.nit:119 */
     fra.me.REG[2] = CALL_location___Location___file(fra.me.REG[0])(fra.me.REG[0]);
     REGB0 = TAG_Bool(fra.me.REG[2]==NIT_NULL);
     if (UNTAG_Bool(REGB0)) {
-      nit_abort("Reciever is null", NULL, LOCATE_location, 96);
+      nit_abort("Reciever is null", NULL, LOCATE_location, 119);
     }
     fra.me.REG[2] = CALL_location___SourceFile___filename(fra.me.REG[2])(fra.me.REG[2]);
-    /* ./../lib/standard//collection//array.nit:23 */
+    /* ../lib/standard/collection/array.nit:24 */
     REGB0 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[2])!=NIT_NULL);
     if (UNTAG_Bool(REGB0)) {
     } else {
-      nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 23);
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 24);
     }
     REGB0 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[2]);
-    /* ./location.nit:96 */
+    /* location.nit:119 */
     REGB1 = TAG_Int(0);
-    /* ./../lib/standard//kernel.nit:217 */
+    REGB2 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB0), VTID_standard___kernel___Comparable___OTHER(REGB0))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB2)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:237 */
     REGB1 = TAG_Bool(UNTAG_Int(REGB0)>UNTAG_Int(REGB1));
-    /* ./location.nit:96 */
+    /* location.nit:119 */
     if (UNTAG_Bool(REGB1)) {
       if (!once_value_2) {
         fra.me.REG[2] = BOX_NativeString(":");
@@ -752,31 +1095,31 @@ val_t location___Location___to_s(val_t p0){
       fra.me.REG[1] = fra.me.REG[2];
     }
   }
-  /* ./location.nit:99 */
+  /* location.nit:122 */
   REGB1 = CALL_location___Location___line_start(fra.me.REG[0])(fra.me.REG[0]);
   REGB0 = CALL_location___Location___line_end(fra.me.REG[0])(fra.me.REG[0]);
   REGB2 = TAG_Bool(IS_EQUAL_OO(REGB1,REGB0));
   if (UNTAG_Bool(REGB2)) {
   } else {
-    /* ./../lib/standard//kernel.nit:210 */
+    /* ../lib/standard/kernel.nit:230 */
     REGB0 = TAG_Bool((REGB1)==(REGB0));
-    /* ./location.nit:99 */
+    /* location.nit:122 */
     REGB2 = REGB0;
   }
   if (UNTAG_Bool(REGB2)) {
-    /* ./location.nit:100 */
+    /* location.nit:123 */
     REGB2 = CALL_location___Location___column_start(fra.me.REG[0])(fra.me.REG[0]);
     REGB0 = CALL_location___Location___column_end(fra.me.REG[0])(fra.me.REG[0]);
     REGB1 = TAG_Bool(IS_EQUAL_OO(REGB2,REGB0));
     if (UNTAG_Bool(REGB1)) {
     } else {
-      /* ./../lib/standard//kernel.nit:210 */
+      /* ../lib/standard/kernel.nit:230 */
       REGB0 = TAG_Bool((REGB2)==(REGB0));
-      /* ./location.nit:100 */
+      /* location.nit:123 */
       REGB1 = REGB0;
     }
     if (UNTAG_Bool(REGB1)) {
-      /* ./location.nit:101 */
+      /* location.nit:124 */
       REGB1 = TAG_Int(7);
       fra.me.REG[2] = NEW_Array_standard___collection___array___Array___with_capacity(REGB1);
       if (!once_value_3) {
@@ -825,7 +1168,7 @@ val_t location___Location___to_s(val_t p0){
       fra.me.REG[2] = CALL_standard___string___Object___to_s(fra.me.REG[2])(fra.me.REG[2]);
       goto label7;
     } else {
-      /* ./location.nit:103 */
+      /* location.nit:126 */
       REGB1 = TAG_Int(9);
       fra.me.REG[3] = NEW_Array_standard___collection___array___Array___with_capacity(REGB1);
       if (!once_value_8) {
@@ -888,7 +1231,7 @@ val_t location___Location___to_s(val_t p0){
       goto label7;
     }
   } else {
-    /* ./location.nit:106 */
+    /* location.nit:129 */
     REGB1 = TAG_Int(11);
     fra.me.REG[3] = NEW_Array_standard___collection___array___Array___with_capacity(REGB1);
     if (!once_value_13) {
@@ -966,6 +1309,7 @@ val_t location___Location___to_s(val_t p0){
   stack_frame_head = fra.me.prev;
   return fra.me.REG[2];
 }
+static const char LOCATE_location___Location___relative_to[] = "location::Location::relative_to";
 val_t location___Location___relative_to(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[2];} fra;
   val_t REGB0;
@@ -975,22 +1319,23 @@ val_t location___Location___relative_to(val_t p0, val_t p1){
   val_t tmp;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 110;
+  fra.me.line = 133;
   fra.me.meth = LOCATE_location___Location___relative_to;
   fra.me.has_broke = 0;
   fra.me.REG_size = 3;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[1] = NIT_NULL;
   fra.me.REG[2] = NIT_NULL;
   fra.me.REG[0] = p0;
   fra.me.REG[1] = p1;
-  /* ./location.nit:112 */
+  /* location.nit:135 */
   REGB0 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
   if (UNTAG_Bool(REGB0)) {
   } else {
     REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
     if (UNTAG_Bool(REGB1)) {
-      REGB1 = TAG_Bool(false);
+      REGB1 = TAG_Bool(0);
       REGB0 = REGB1;
     } else {
       REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], NIT_NULL);
@@ -1001,7 +1346,7 @@ val_t location___Location___relative_to(val_t p0, val_t p1){
   if (UNTAG_Bool(REGB0)) {
     REGB0 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
     if (UNTAG_Bool(REGB0)) {
-      nit_abort("Reciever is null", NULL, LOCATE_location, 112);
+      nit_abort("Reciever is null", NULL, LOCATE_location, 135);
     }
     fra.me.REG[1] = CALL_location___Location___file(fra.me.REG[1])(fra.me.REG[1]);
     fra.me.REG[2] = CALL_location___Location___file(fra.me.REG[0])(fra.me.REG[0]);
@@ -1010,7 +1355,7 @@ val_t location___Location___relative_to(val_t p0, val_t p1){
     } else {
       REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
       if (UNTAG_Bool(REGB1)) {
-        REGB1 = TAG_Bool(false);
+        REGB1 = TAG_Bool(0);
         REGB0 = REGB1;
       } else {
         REGB1 = CALL_standard___kernel___Object_____eqeq(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[2]);
@@ -1018,18 +1363,18 @@ val_t location___Location___relative_to(val_t p0, val_t p1){
       }
     }
   } else {
-    REGB1 = TAG_Bool(false);
+    REGB1 = TAG_Bool(0);
     REGB0 = REGB1;
   }
   if (UNTAG_Bool(REGB0)) {
-    /* ./location.nit:113 */
+    /* location.nit:136 */
     REGB0 = CALL_location___Location___line_start(fra.me.REG[0])(fra.me.REG[0]);
     REGB1 = CALL_location___Location___line_end(fra.me.REG[0])(fra.me.REG[0]);
     REGB2 = CALL_location___Location___column_start(fra.me.REG[0])(fra.me.REG[0]);
     REGB3 = CALL_location___Location___column_end(fra.me.REG[0])(fra.me.REG[0]);
     fra.me.REG[2] = NEW_Location_location___Location___init(NIT_NULL, REGB0, REGB1, REGB2, REGB3);
   } else {
-    /* ./location.nit:115 */
+    /* location.nit:138 */
     fra.me.REG[1] = CALL_location___Location___file(fra.me.REG[0])(fra.me.REG[0]);
     REGB3 = CALL_location___Location___line_start(fra.me.REG[0])(fra.me.REG[0]);
     REGB2 = CALL_location___Location___line_end(fra.me.REG[0])(fra.me.REG[0]);
@@ -1038,13 +1383,14 @@ val_t location___Location___relative_to(val_t p0, val_t p1){
     fra.me.REG[1] = NEW_Location_location___Location___init(fra.me.REG[1], REGB3, REGB2, REGB1, REGB0);
     fra.me.REG[2] = fra.me.REG[1];
   }
-  /* ./location.nit:117 */
+  /* location.nit:140 */
   fra.me.REG[2] = CALL_standard___string___Object___to_s(fra.me.REG[2])(fra.me.REG[2]);
   goto label1;
   label1: while(0);
   stack_frame_head = fra.me.prev;
   return fra.me.REG[2];
 }
+static const char LOCATE_location___Location_____l[] = "location::Location::(kernel::Comparable::<)";
 val_t location___Location_____l(val_t p0, val_t p1){
   struct {struct stack_frame_t me; val_t MORE_REG[1];} fra;
   val_t REGB0;
@@ -1054,15 +1400,21 @@ val_t location___Location_____l(val_t p0, val_t p1){
   val_t tmp;
   fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
   fra.me.file = LOCATE_location;
-  fra.me.line = 120;
+  fra.me.line = 143;
   fra.me.meth = LOCATE_location___Location_____l;
   fra.me.has_broke = 0;
   fra.me.REG_size = 2;
+  fra.me.nitni_local_ref_head = NULL;
   fra.me.REG[0] = NIT_NULL;
   fra.me.REG[1] = NIT_NULL;
   fra.me.REG[0] = p0;
   fra.me.REG[1] = p1;
-  /* ./location.nit:121 */
+  REGB0 = TAG_Bool(VAL_ISA(fra.me.REG[1], VTCOLOR_standard___kernel___Comparable___OTHER(fra.me.REG[0]), VTID_standard___kernel___Comparable___OTHER(fra.me.REG[0]))) /*cast OTHER*/;
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Cast failed", NULL, LOCATE_location, 0);
+  }
+  /* location.nit:144 */
   REGB0 = TAG_Bool(IS_EQUAL_OO(fra.me.REG[0],fra.me.REG[1]));
   if (UNTAG_Bool(REGB0)) {
   } else {
@@ -1070,95 +1422,597 @@ val_t location___Location_____l(val_t p0, val_t p1){
     REGB0 = REGB1;
   }
   if (UNTAG_Bool(REGB0)) {
-    REGB0 = TAG_Bool(false);
+    REGB0 = TAG_Bool(0);
     goto label1;
   }
-  /* ./location.nit:122 */
+  /* location.nit:145 */
   REGB1 = CALL_location___Location___located_in(fra.me.REG[0])(fra.me.REG[0], fra.me.REG[1]);
   if (UNTAG_Bool(REGB1)) {
-    REGB1 = TAG_Bool(true);
+    REGB1 = TAG_Bool(1);
     REGB0 = REGB1;
     goto label1;
   }
-  /* ./location.nit:123 */
+  /* location.nit:146 */
   REGB1 = CALL_location___Location___located_in(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[0]);
   if (UNTAG_Bool(REGB1)) {
-    REGB1 = TAG_Bool(false);
+    REGB1 = TAG_Bool(0);
     REGB0 = REGB1;
     goto label1;
   }
-  /* ./location.nit:125 */
+  /* location.nit:148 */
   REGB1 = CALL_location___Location___line_start(fra.me.REG[0])(fra.me.REG[0]);
   REGB2 = CALL_location___Location___line_start(fra.me.REG[1])(fra.me.REG[1]);
   REGB3 = TAG_Bool(IS_EQUAL_OO(REGB1,REGB2));
   if (UNTAG_Bool(REGB3)) {
   } else {
-    /* ./../lib/standard//kernel.nit:210 */
+    /* ../lib/standard/kernel.nit:230 */
     REGB2 = TAG_Bool((REGB1)==(REGB2));
-    /* ./location.nit:125 */
+    /* location.nit:148 */
     REGB3 = REGB2;
   }
   REGB3 = TAG_Bool(!UNTAG_Bool(REGB3));
   if (UNTAG_Bool(REGB3)) {
     REGB3 = CALL_location___Location___line_start(fra.me.REG[0])(fra.me.REG[0]);
     REGB2 = CALL_location___Location___line_start(fra.me.REG[1])(fra.me.REG[1]);
-    /* ./../lib/standard//kernel.nit:215 */
+    REGB1 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB3), VTID_standard___kernel___Comparable___OTHER(REGB3))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB1)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:235 */
     REGB2 = TAG_Bool(UNTAG_Int(REGB3)<UNTAG_Int(REGB2));
-    /* ./location.nit:125 */
+    /* location.nit:148 */
     REGB0 = REGB2;
     goto label1;
   }
-  /* ./location.nit:126 */
+  /* location.nit:149 */
   REGB2 = CALL_location___Location___column_start(fra.me.REG[0])(fra.me.REG[0]);
   REGB3 = CALL_location___Location___column_start(fra.me.REG[1])(fra.me.REG[1]);
   REGB1 = TAG_Bool(IS_EQUAL_OO(REGB2,REGB3));
   if (UNTAG_Bool(REGB1)) {
   } else {
-    /* ./../lib/standard//kernel.nit:210 */
+    /* ../lib/standard/kernel.nit:230 */
     REGB3 = TAG_Bool((REGB2)==(REGB3));
-    /* ./location.nit:126 */
+    /* location.nit:149 */
     REGB1 = REGB3;
   }
   REGB1 = TAG_Bool(!UNTAG_Bool(REGB1));
   if (UNTAG_Bool(REGB1)) {
     REGB1 = CALL_location___Location___column_start(fra.me.REG[0])(fra.me.REG[0]);
     REGB3 = CALL_location___Location___column_start(fra.me.REG[1])(fra.me.REG[1]);
-    /* ./../lib/standard//kernel.nit:215 */
+    REGB2 = TAG_Bool(VAL_ISA(REGB3, VTCOLOR_standard___kernel___Comparable___OTHER(REGB1), VTID_standard___kernel___Comparable___OTHER(REGB1))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB2)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:235 */
     REGB3 = TAG_Bool(UNTAG_Int(REGB1)<UNTAG_Int(REGB3));
-    /* ./location.nit:126 */
+    /* location.nit:149 */
     REGB0 = REGB3;
     goto label1;
   }
-  /* ./location.nit:127 */
+  /* location.nit:150 */
   REGB3 = CALL_location___Location___line_end(fra.me.REG[0])(fra.me.REG[0]);
   REGB1 = CALL_location___Location___line_end(fra.me.REG[1])(fra.me.REG[1]);
   REGB2 = TAG_Bool(IS_EQUAL_OO(REGB3,REGB1));
   if (UNTAG_Bool(REGB2)) {
   } else {
-    /* ./../lib/standard//kernel.nit:210 */
+    /* ../lib/standard/kernel.nit:230 */
     REGB1 = TAG_Bool((REGB3)==(REGB1));
-    /* ./location.nit:127 */
+    /* location.nit:150 */
     REGB2 = REGB1;
   }
   REGB2 = TAG_Bool(!UNTAG_Bool(REGB2));
   if (UNTAG_Bool(REGB2)) {
     REGB2 = CALL_location___Location___line_end(fra.me.REG[0])(fra.me.REG[0]);
     REGB1 = CALL_location___Location___line_end(fra.me.REG[1])(fra.me.REG[1]);
-    /* ./../lib/standard//kernel.nit:215 */
+    REGB3 = TAG_Bool(VAL_ISA(REGB1, VTCOLOR_standard___kernel___Comparable___OTHER(REGB2), VTID_standard___kernel___Comparable___OTHER(REGB2))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB3)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:235 */
     REGB1 = TAG_Bool(UNTAG_Int(REGB2)<UNTAG_Int(REGB1));
-    /* ./location.nit:127 */
+    /* location.nit:150 */
     REGB0 = REGB1;
     goto label1;
   }
-  /* ./location.nit:129 */
+  /* location.nit:152 */
   REGB1 = CALL_location___Location___column_end(fra.me.REG[0])(fra.me.REG[0]);
   REGB2 = CALL_location___Location___column_end(fra.me.REG[1])(fra.me.REG[1]);
-  /* ./../lib/standard//kernel.nit:215 */
+  REGB3 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB1), VTID_standard___kernel___Comparable___OTHER(REGB1))) /*cast OTHER*/;
+  if (UNTAG_Bool(REGB3)) {
+  } else {
+    nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+  }
+  /* ../lib/standard/kernel.nit:235 */
   REGB2 = TAG_Bool(UNTAG_Int(REGB1)<UNTAG_Int(REGB2));
-  /* ./location.nit:129 */
+  /* location.nit:152 */
   REGB0 = REGB2;
   goto label1;
   label1: while(0);
   stack_frame_head = fra.me.prev;
   return REGB0;
 }
+static const char LOCATE_location___Location___colored_line[] = "location::Location::colored_line";
+val_t location___Location___colored_line(val_t p0, val_t p1){
+  struct {struct stack_frame_t me; val_t MORE_REG[7];} fra;
+  val_t REGB0;
+  val_t REGB1;
+  val_t REGB2;
+  val_t REGB3;
+  val_t REGB4;
+  val_t REGB5;
+  val_t tmp;
+  static val_t once_value_1; /* Once value */
+  static val_t once_value_2; /* Once value */
+  static val_t once_value_3; /* Once value */
+  static val_t once_value_4; /* Once value */
+  static val_t once_value_5; /* Once value */
+    static val_t once_value_8; /* Once value */
+    static val_t once_value_9; /* Once value */
+  static val_t once_value_11; /* Once value */
+  static val_t once_value_12; /* Once value */
+  static val_t once_value_13; /* Once value */
+  static val_t once_value_14; /* Once value */
+  static val_t once_value_15; /* Once value */
+  static val_t once_value_16; /* Once value */
+  static val_t once_value_17; /* Once value */
+  fra.me.prev = stack_frame_head; stack_frame_head = &fra.me;
+  fra.me.file = LOCATE_location;
+  fra.me.line = 155;
+  fra.me.meth = LOCATE_location___Location___colored_line;
+  fra.me.has_broke = 0;
+  fra.me.REG_size = 8;
+  fra.me.nitni_local_ref_head = NULL;
+  fra.me.REG[0] = NIT_NULL;
+  fra.me.REG[1] = NIT_NULL;
+  fra.me.REG[2] = NIT_NULL;
+  fra.me.REG[3] = NIT_NULL;
+  fra.me.REG[4] = NIT_NULL;
+  fra.me.REG[5] = NIT_NULL;
+  fra.me.REG[6] = NIT_NULL;
+  fra.me.REG[7] = NIT_NULL;
+  fra.me.REG[0] = p0;
+  fra.me.REG[1] = p1;
+  /* location.nit:162 */
+  REGB0 = TAG_Int(27);
+  /* ../lib/standard/kernel.nit:300 */
+  REGB0 = TAG_Char(UNTAG_Int(REGB0));
+  /* location.nit:163 */
+  REGB1 = TAG_Int(3);
+  fra.me.REG[2] = NEW_Array_standard___collection___array___Array___with_capacity(REGB1);
+  if (!once_value_1) {
+    fra.me.REG[3] = BOX_NativeString("");
+    REGB1 = TAG_Int(0);
+    fra.me.REG[3] = NEW_String_standard___string___String___with_native(fra.me.REG[3], REGB1);
+    once_value_1 = fra.me.REG[3];
+    register_static_object(&once_value_1);
+  } else fra.me.REG[3] = once_value_1;
+  fra.me.REG[3] = fra.me.REG[3];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3]);
+  fra.me.REG[3] = CALL_standard___string___Object___to_s(REGB0)(REGB0);
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3]);
+  if (!once_value_2) {
+    fra.me.REG[3] = BOX_NativeString("[0m");
+    REGB1 = TAG_Int(3);
+    fra.me.REG[3] = NEW_String_standard___string___String___with_native(fra.me.REG[3], REGB1);
+    once_value_2 = fra.me.REG[3];
+    register_static_object(&once_value_2);
+  } else fra.me.REG[3] = once_value_2;
+  fra.me.REG[3] = fra.me.REG[3];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[2])(fra.me.REG[2], fra.me.REG[3]);
+  fra.me.REG[2] = CALL_standard___string___Object___to_s(fra.me.REG[2])(fra.me.REG[2]);
+  /* location.nit:164 */
+  REGB1 = TAG_Int(5);
+  fra.me.REG[3] = NEW_Array_standard___collection___array___Array___with_capacity(REGB1);
+  if (!once_value_3) {
+    fra.me.REG[4] = BOX_NativeString("");
+    REGB1 = TAG_Int(0);
+    fra.me.REG[4] = NEW_String_standard___string___String___with_native(fra.me.REG[4], REGB1);
+    once_value_3 = fra.me.REG[4];
+    register_static_object(&once_value_3);
+  } else fra.me.REG[4] = once_value_3;
+  fra.me.REG[4] = fra.me.REG[4];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[4]);
+  fra.me.REG[4] = CALL_standard___string___Object___to_s(REGB0)(REGB0);
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[4]);
+  if (!once_value_4) {
+    fra.me.REG[4] = BOX_NativeString("[");
+    REGB0 = TAG_Int(1);
+    fra.me.REG[4] = NEW_String_standard___string___String___with_native(fra.me.REG[4], REGB0);
+    once_value_4 = fra.me.REG[4];
+    register_static_object(&once_value_4);
+  } else fra.me.REG[4] = once_value_4;
+  fra.me.REG[4] = fra.me.REG[4];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[4]);
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1]);
+  if (!once_value_5) {
+    fra.me.REG[1] = BOX_NativeString("m");
+    REGB0 = TAG_Int(1);
+    fra.me.REG[1] = NEW_String_standard___string___String___with_native(fra.me.REG[1], REGB0);
+    once_value_5 = fra.me.REG[1];
+    register_static_object(&once_value_5);
+  } else fra.me.REG[1] = once_value_5;
+  fra.me.REG[1] = fra.me.REG[1];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[3])(fra.me.REG[3], fra.me.REG[1]);
+  fra.me.REG[3] = CALL_standard___string___Object___to_s(fra.me.REG[3])(fra.me.REG[3]);
+  /* location.nit:167 */
+  REGB0 = CALL_location___Location___line_start(fra.me.REG[0])(fra.me.REG[0]);
+  /* location.nit:168 */
+  fra.me.REG[1] = CALL_location___Location___file(fra.me.REG[0])(fra.me.REG[0]);
+  REGB1 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+  if (UNTAG_Bool(REGB1)) {
+    nit_abort("Reciever is null", NULL, LOCATE_location, 168);
+  }
+  fra.me.REG[1] = CALL_location___SourceFile___line_starts(fra.me.REG[1])(fra.me.REG[1]);
+  REGB1 = TAG_Int(1);
+  /* ../lib/standard/kernel.nit:240 */
+  REGB1 = TAG_Int(UNTAG_Int(REGB0)-UNTAG_Int(REGB1));
+  /* ../lib/standard/collection/array.nit:280 */
+  REGB2 = TAG_Int(0);
+  REGB3 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB1), VTID_standard___kernel___Comparable___OTHER(REGB1))) /*cast OTHER*/;
+  if (UNTAG_Bool(REGB3)) {
+  } else {
+    nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+  }
+  /* ../lib/standard/kernel.nit:236 */
+  REGB2 = TAG_Bool(UNTAG_Int(REGB1)>=UNTAG_Int(REGB2));
+  /* ../lib/standard/collection/array.nit:280 */
+  if (UNTAG_Bool(REGB2)) {
+    REGB2 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[1])!=NIT_NULL);
+    if (UNTAG_Bool(REGB2)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 280);
+    }
+    REGB2 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[1]);
+    REGB3 = TAG_Bool(VAL_ISA(REGB2, VTCOLOR_standard___kernel___Comparable___OTHER(REGB1), VTID_standard___kernel___Comparable___OTHER(REGB1))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB3)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:235 */
+    REGB2 = TAG_Bool(UNTAG_Int(REGB1)<UNTAG_Int(REGB2));
+  } else {
+    /* ../lib/standard/collection/array.nit:280 */
+    REGB3 = TAG_Bool(0);
+    REGB2 = REGB3;
+  }
+  if (UNTAG_Bool(REGB2)) {
+  } else {
+    nit_abort("Assert '%s' failed", "index", LOCATE_standard___collection___array, 280);
+  }
+  /* ../lib/standard/collection/array.nit:281 */
+  fra.me.REG[1] = ATTR_standard___collection___array___Array____items(fra.me.REG[1]);
+  REGB2 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+  if (UNTAG_Bool(REGB2)) {
+    nit_abort("Reciever is null", NULL, LOCATE_standard___collection___array, 281);
+  }
+  /* ../lib/standard/collection/array.nit:724 */
+  fra.me.REG[1] = ((Nit_NativeArray)fra.me.REG[1])->val[UNTAG_Int(REGB1)];
+  /* ../lib/standard/collection/array.nit:281 */
+  goto label6;
+  label6: while(0);
+  /* location.nit:168 */
+  REGB1 = fra.me.REG[1];
+  /* location.nit:169 */
+  REGB2 = REGB1;
+  /* location.nit:170 */
+  fra.me.REG[1] = CALL_location___Location___file(fra.me.REG[0])(fra.me.REG[0]);
+  REGB3 = TAG_Bool(fra.me.REG[1]==NIT_NULL);
+  if (UNTAG_Bool(REGB3)) {
+    nit_abort("Reciever is null", NULL, LOCATE_location, 170);
+  }
+  fra.me.REG[1] = CALL_location___SourceFile___string(fra.me.REG[1])(fra.me.REG[1]);
+  /* location.nit:171 */
+  while(1) {
+    REGB3 = TAG_Int(1);
+    /* ../lib/standard/kernel.nit:238 */
+    REGB3 = TAG_Int(UNTAG_Int(REGB2)+UNTAG_Int(REGB3));
+    /* ../lib/standard/collection/array.nit:24 */
+    REGB4 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[1])!=NIT_NULL);
+    if (UNTAG_Bool(REGB4)) {
+    } else {
+      nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 24);
+    }
+    REGB4 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[1]);
+    REGB5 = TAG_Bool(VAL_ISA(REGB4, VTCOLOR_standard___kernel___Comparable___OTHER(REGB3), VTID_standard___kernel___Comparable___OTHER(REGB3))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB5)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:235 */
+    REGB4 = TAG_Bool(UNTAG_Int(REGB3)<UNTAG_Int(REGB4));
+    /* location.nit:171 */
+    if (UNTAG_Bool(REGB4)) {
+      REGB4 = TAG_Int(1);
+      /* ../lib/standard/kernel.nit:238 */
+      REGB4 = TAG_Int(UNTAG_Int(REGB2)+UNTAG_Int(REGB4));
+      /* location.nit:171 */
+      REGB4 = CALL_standard___collection___abstract_collection___SequenceRead_____bra(fra.me.REG[1])(fra.me.REG[1], REGB4);
+      REGB3 = TAG_Char('\n');
+      REGB5 = TAG_Bool(IS_EQUAL_OO(REGB4,REGB3));
+      if (UNTAG_Bool(REGB5)) {
+      } else {
+        /* ../lib/standard/kernel.nit:381 */
+        REGB3 = TAG_Bool((REGB4)==(REGB3));
+        /* location.nit:171 */
+        REGB5 = REGB3;
+      }
+      REGB5 = TAG_Bool(!UNTAG_Bool(REGB5));
+    } else {
+      REGB3 = TAG_Bool(0);
+      REGB5 = REGB3;
+    }
+    if (UNTAG_Bool(REGB5)) {
+      REGB5 = TAG_Int(1);
+      /* ../lib/standard/kernel.nit:238 */
+      REGB5 = TAG_Int(UNTAG_Int(REGB2)+UNTAG_Int(REGB5));
+      /* location.nit:171 */
+      REGB5 = CALL_standard___collection___abstract_collection___SequenceRead_____bra(fra.me.REG[1])(fra.me.REG[1], REGB5);
+      REGB3 = TAG_Char('\r');
+      REGB4 = TAG_Bool(IS_EQUAL_OO(REGB5,REGB3));
+      if (UNTAG_Bool(REGB4)) {
+      } else {
+        /* ../lib/standard/kernel.nit:381 */
+        REGB3 = TAG_Bool((REGB5)==(REGB3));
+        /* location.nit:171 */
+        REGB4 = REGB3;
+      }
+      REGB4 = TAG_Bool(!UNTAG_Bool(REGB4));
+    } else {
+      REGB3 = TAG_Bool(0);
+      REGB4 = REGB3;
+    }
+    if (UNTAG_Bool(REGB4)) {
+      /* location.nit:172 */
+      REGB4 = TAG_Int(1);
+      /* ../lib/standard/kernel.nit:238 */
+      REGB4 = TAG_Int(UNTAG_Int(REGB2)+UNTAG_Int(REGB4));
+      /* location.nit:172 */
+      REGB2 = REGB4;
+    } else {
+      /* location.nit:171 */
+      goto label7;
+    }
+  }
+  label7: while(0);
+  /* location.nit:174 */
+  REGB4 = CALL_location___Location___column_start(fra.me.REG[0])(fra.me.REG[0]);
+  REGB3 = TAG_Int(1);
+  /* ../lib/standard/kernel.nit:240 */
+  REGB3 = TAG_Int(UNTAG_Int(REGB4)-UNTAG_Int(REGB3));
+  /* location.nit:174 */
+  fra.me.REG[4] = CALL_standard___string___AbstractString___substring(fra.me.REG[1])(fra.me.REG[1], REGB1, REGB3);
+  /* location.nit:176 */
+  REGB3 = CALL_location___Location___line_end(fra.me.REG[0])(fra.me.REG[0]);
+  REGB4 = TAG_Bool(IS_EQUAL_OO(REGB0,REGB3));
+  if (UNTAG_Bool(REGB4)) {
+  } else {
+    /* ../lib/standard/kernel.nit:230 */
+    REGB3 = TAG_Bool((REGB0)==(REGB3));
+    /* location.nit:176 */
+    REGB4 = REGB3;
+  }
+  REGB4 = TAG_Bool(!UNTAG_Bool(REGB4));
+  if (UNTAG_Bool(REGB4)) {
+    /* ../lib/standard/kernel.nit:240 */
+    REGB4 = TAG_Int(UNTAG_Int(REGB2)-UNTAG_Int(REGB1));
+    /* location.nit:177 */
+    REGB3 = TAG_Int(1);
+    /* ../lib/standard/kernel.nit:238 */
+    REGB3 = TAG_Int(UNTAG_Int(REGB4)+UNTAG_Int(REGB3));
+    /* location.nit:177 */
+    fra.me.REG[5] = REGB3;
+  } else {
+    /* location.nit:179 */
+    REGB3 = CALL_location___Location___column_end(fra.me.REG[0])(fra.me.REG[0]);
+    fra.me.REG[5] = REGB3;
+  }
+  /* ../lib/standard/kernel.nit:238 */
+  REGB3 = TAG_Int(UNTAG_Int(REGB1)+UNTAG_Int(fra.me.REG[5]));
+  /* ../lib/standard/collection/array.nit:24 */
+  REGB4 = TAG_Bool(ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[1])!=NIT_NULL);
+  if (UNTAG_Bool(REGB4)) {
+  } else {
+    nit_abort("Uninitialized attribute %s", "_length", LOCATE_standard___collection___array, 24);
+  }
+  REGB4 = ATTR_standard___collection___array___AbstractArrayRead____length(fra.me.REG[1]);
+  REGB0 = TAG_Bool(VAL_ISA(REGB4, VTCOLOR_standard___kernel___Comparable___OTHER(REGB3), VTID_standard___kernel___Comparable___OTHER(REGB3))) /*cast OTHER*/;
+  if (UNTAG_Bool(REGB0)) {
+  } else {
+    nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+  }
+  /* ../lib/standard/kernel.nit:234 */
+  REGB4 = TAG_Bool(UNTAG_Int(REGB3)<=UNTAG_Int(REGB4));
+  /* location.nit:183 */
+  if (UNTAG_Bool(REGB4)) {
+    /* location.nit:184 */
+    REGB4 = CALL_location___Location___column_start(fra.me.REG[0])(fra.me.REG[0]);
+    /* ../lib/standard/kernel.nit:238 */
+    REGB4 = TAG_Int(UNTAG_Int(REGB1)+UNTAG_Int(REGB4));
+    /* location.nit:184 */
+    REGB3 = TAG_Int(1);
+    /* ../lib/standard/kernel.nit:240 */
+    REGB3 = TAG_Int(UNTAG_Int(REGB4)-UNTAG_Int(REGB3));
+    /* location.nit:184 */
+    REGB4 = CALL_location___Location___column_start(fra.me.REG[0])(fra.me.REG[0]);
+    REGB0 = TAG_Bool(fra.me.REG[5]==NIT_NULL);
+    if (UNTAG_Bool(REGB0)) {
+      nit_abort("Reciever is null", NULL, LOCATE_location, 184);
+    }
+    /* ../lib/standard/kernel.nit:240 */
+    REGB4 = TAG_Int(UNTAG_Int(fra.me.REG[5])-UNTAG_Int(REGB4));
+    /* location.nit:184 */
+    REGB0 = TAG_Int(1);
+    /* ../lib/standard/kernel.nit:238 */
+    REGB0 = TAG_Int(UNTAG_Int(REGB4)+UNTAG_Int(REGB0));
+    /* location.nit:184 */
+    fra.me.REG[6] = CALL_standard___string___AbstractString___substring(fra.me.REG[1])(fra.me.REG[1], REGB3, REGB0);
+    /* ../lib/standard/kernel.nit:238 */
+    REGB0 = TAG_Int(UNTAG_Int(REGB1)+UNTAG_Int(fra.me.REG[5]));
+    /* ../lib/standard/kernel.nit:240 */
+    REGB2 = TAG_Int(UNTAG_Int(REGB2)-UNTAG_Int(REGB1));
+    REGB2 = TAG_Int(UNTAG_Int(REGB2)-UNTAG_Int(fra.me.REG[5]));
+    /* location.nit:185 */
+    REGB3 = TAG_Int(1);
+    /* ../lib/standard/kernel.nit:238 */
+    REGB3 = TAG_Int(UNTAG_Int(REGB2)+UNTAG_Int(REGB3));
+    /* location.nit:185 */
+    fra.me.REG[5] = CALL_standard___string___AbstractString___substring(fra.me.REG[1])(fra.me.REG[1], REGB0, REGB3);
+  } else {
+    /* location.nit:187 */
+    if (!once_value_8) {
+      fra.me.REG[7] = BOX_NativeString("");
+      REGB3 = TAG_Int(0);
+      fra.me.REG[7] = NEW_String_standard___string___String___with_native(fra.me.REG[7], REGB3);
+      once_value_8 = fra.me.REG[7];
+      register_static_object(&once_value_8);
+    } else fra.me.REG[7] = once_value_8;
+    fra.me.REG[7] = fra.me.REG[7];
+    fra.me.REG[6] = fra.me.REG[7];
+    /* location.nit:188 */
+    if (!once_value_9) {
+      fra.me.REG[7] = BOX_NativeString("");
+      REGB3 = TAG_Int(0);
+      fra.me.REG[7] = NEW_String_standard___string___String___with_native(fra.me.REG[7], REGB3);
+      once_value_9 = fra.me.REG[7];
+      register_static_object(&once_value_9);
+    } else fra.me.REG[7] = once_value_9;
+    fra.me.REG[7] = fra.me.REG[7];
+    fra.me.REG[5] = fra.me.REG[7];
+  }
+  /* location.nit:190 */
+  fra.me.REG[7] = NEW_Buffer_standard___string___Buffer___init();
+  /* location.nit:191 */
+  REGB3 = CALL_location___Location___column_start(fra.me.REG[0])(fra.me.REG[0]);
+  /* ../lib/standard/kernel.nit:238 */
+  REGB3 = TAG_Int(UNTAG_Int(REGB1)+UNTAG_Int(REGB3));
+  /* location.nit:191 */
+  REGB0 = TAG_Int(1);
+  /* ../lib/standard/kernel.nit:240 */
+  REGB0 = TAG_Int(UNTAG_Int(REGB3)-UNTAG_Int(REGB0));
+  /* ../lib/standard/kernel.nit:355 */
+  while(1) {
+    REGB3 = TAG_Bool(VAL_ISA(REGB0, VTCOLOR_standard___kernel___Comparable___OTHER(REGB1), VTID_standard___kernel___Comparable___OTHER(REGB1))) /*cast OTHER*/;
+    if (UNTAG_Bool(REGB3)) {
+    } else {
+      nit_abort("Cast failed", NULL, LOCATE_standard___kernel, 0);
+    }
+    /* ../lib/standard/kernel.nit:235 */
+    REGB3 = TAG_Bool(UNTAG_Int(REGB1)<UNTAG_Int(REGB0));
+    /* ../lib/standard/kernel.nit:355 */
+    if (UNTAG_Bool(REGB3)) {
+      /* location.nit:191 */
+      REGB3 = REGB1;
+      /* location.nit:192 */
+      REGB3 = CALL_standard___collection___abstract_collection___SequenceRead_____bra(fra.me.REG[1])(fra.me.REG[1], REGB3);
+      REGB2 = TAG_Char('\t');
+      REGB4 = TAG_Bool(IS_EQUAL_OO(REGB3,REGB2));
+      if (UNTAG_Bool(REGB4)) {
+      } else {
+        /* ../lib/standard/kernel.nit:381 */
+        REGB2 = TAG_Bool((REGB3)==(REGB2));
+        /* location.nit:192 */
+        REGB4 = REGB2;
+      }
+      if (UNTAG_Bool(REGB4)) {
+        /* location.nit:193 */
+        REGB4 = TAG_Char('\t');
+        CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[7])(fra.me.REG[7], REGB4);
+      } else {
+        /* location.nit:195 */
+        REGB4 = TAG_Char(' ');
+        CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[7])(fra.me.REG[7], REGB4);
+      }
+      /* ../lib/standard/kernel.nit:357 */
+      REGB4 = TAG_Int(1);
+      /* ../lib/standard/kernel.nit:238 */
+      REGB4 = TAG_Int(UNTAG_Int(REGB1)+UNTAG_Int(REGB4));
+      /* ../lib/standard/kernel.nit:357 */
+      REGB1 = REGB4;
+    } else {
+      /* ../lib/standard/kernel.nit:355 */
+      goto label10;
+    }
+  }
+  label10: while(0);
+  /* location.nit:198 */
+  REGB1 = TAG_Int(13);
+  fra.me.REG[1] = NEW_Array_standard___collection___array___Array___with_capacity(REGB1);
+  if (!once_value_11) {
+    fra.me.REG[0] = BOX_NativeString("\t");
+    REGB1 = TAG_Int(1);
+    fra.me.REG[0] = NEW_String_standard___string___String___with_native(fra.me.REG[0], REGB1);
+    once_value_11 = fra.me.REG[0];
+    register_static_object(&once_value_11);
+  } else fra.me.REG[0] = once_value_11;
+  fra.me.REG[0] = fra.me.REG[0];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[0]);
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[4]);
+  if (!once_value_12) {
+    fra.me.REG[4] = BOX_NativeString("");
+    REGB1 = TAG_Int(0);
+    fra.me.REG[4] = NEW_String_standard___string___String___with_native(fra.me.REG[4], REGB1);
+    once_value_12 = fra.me.REG[4];
+    register_static_object(&once_value_12);
+  } else fra.me.REG[4] = once_value_12;
+  fra.me.REG[4] = fra.me.REG[4];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[4]);
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[3]);
+  if (!once_value_13) {
+    fra.me.REG[3] = BOX_NativeString("");
+    REGB1 = TAG_Int(0);
+    fra.me.REG[3] = NEW_String_standard___string___String___with_native(fra.me.REG[3], REGB1);
+    once_value_13 = fra.me.REG[3];
+    register_static_object(&once_value_13);
+  } else fra.me.REG[3] = once_value_13;
+  fra.me.REG[3] = fra.me.REG[3];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[3]);
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[6]);
+  if (!once_value_14) {
+    fra.me.REG[6] = BOX_NativeString("");
+    REGB1 = TAG_Int(0);
+    fra.me.REG[6] = NEW_String_standard___string___String___with_native(fra.me.REG[6], REGB1);
+    once_value_14 = fra.me.REG[6];
+    register_static_object(&once_value_14);
+  } else fra.me.REG[6] = once_value_14;
+  fra.me.REG[6] = fra.me.REG[6];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[6]);
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[2]);
+  if (!once_value_15) {
+    fra.me.REG[2] = BOX_NativeString("");
+    REGB1 = TAG_Int(0);
+    fra.me.REG[2] = NEW_String_standard___string___String___with_native(fra.me.REG[2], REGB1);
+    once_value_15 = fra.me.REG[2];
+    register_static_object(&once_value_15);
+  } else fra.me.REG[2] = once_value_15;
+  fra.me.REG[2] = fra.me.REG[2];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[2]);
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[5]);
+  if (!once_value_16) {
+    fra.me.REG[5] = BOX_NativeString("\n\t");
+    REGB1 = TAG_Int(2);
+    fra.me.REG[5] = NEW_String_standard___string___String___with_native(fra.me.REG[5], REGB1);
+    once_value_16 = fra.me.REG[5];
+    register_static_object(&once_value_16);
+  } else fra.me.REG[5] = once_value_16;
+  fra.me.REG[5] = fra.me.REG[5];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[5]);
+  fra.me.REG[7] = CALL_standard___string___Object___to_s(fra.me.REG[7])(fra.me.REG[7]);
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[7]);
+  if (!once_value_17) {
+    fra.me.REG[7] = BOX_NativeString("^");
+    REGB1 = TAG_Int(1);
+    fra.me.REG[7] = NEW_String_standard___string___String___with_native(fra.me.REG[7], REGB1);
+    once_value_17 = fra.me.REG[7];
+    register_static_object(&once_value_17);
+  } else fra.me.REG[7] = once_value_17;
+  fra.me.REG[7] = fra.me.REG[7];
+  CALL_standard___collection___abstract_collection___SimpleCollection___add(fra.me.REG[1])(fra.me.REG[1], fra.me.REG[7]);
+  fra.me.REG[1] = CALL_standard___string___Object___to_s(fra.me.REG[1])(fra.me.REG[1]);
+  goto label18;
+  label18: while(0);
+  stack_frame_head = fra.me.prev;
+  return fra.me.REG[1];
+}