[SCM] Lisaac compiler branch, mildred-stable, updated. mildred-r3-1-ge726fac

Mildred Ki'Lya silkensedai at online.fr
Wed May 4 07:28:41 UTC 2011


The following commit has been merged in the mildred-stable branch:
commit e726fac1245d4239c7e468944cd1c9761392f8b7
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date:   Wed May 4 09:28:03 2011 +0200

    Add current dynamic type in crash traces

diff --git a/lib/standard/kernel/object.li b/lib/standard/kernel/object.li
index 78193d3..5361cc4 100644
--- a/lib/standard/kernel/object.li
+++ b/lib/standard/kernel/object.li
@@ -73,6 +73,9 @@ Section Public
   - crash_on ptr:POINTER with_message msg:ABSTRACT_STRING <-
   (
     print_runtime_stack_on ptr;
+    "Dynamic type: ".print;
+    type_name.print;
+    '\n'.print;
     msg.print;
     '\n'.print;
     die_with_code exit_failure_code;

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list