[SCM] Lisaac compiler branch, master+stable, updated. lisaac-0.12-606-gf445725

Mildred Ki'Lya silkensedai at online.fr
Mon Mar 1 00:35:28 UTC 2010


The following commit has been merged in the master+stable branch:
commit 15911c9bdd7b32a0672f90dfb44300763adfa40e
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date:   Sat Oct 10 13:29:07 2009 +0200

    Add test for bug inheriting generic prototype

diff --git a/run-tests.sh b/run-tests.sh
index 6bdccb7..ed3695d 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -137,6 +137,9 @@ if $op_runcwd; then
           echo
           echo "$run"
         fi
+      else
+        echo
+        echo "$compile"
       fi
     fi
   else
diff --git a/tests/inherit_generic/main.li b/tests/inherit_generic/main.li
new file mode 100644
index 0000000..dedbad0
--- /dev/null
+++ b/tests/inherit_generic/main.li
@@ -0,0 +1,15 @@
+Section Header
+
+  + name := MAIN;
+
+Section Inherit
+
+  + parent :FAST_ARRAY(INTEGER) := FAST_ARRAY(INTEGER).create 1;
+
+Section Public
+
+  - main <-
+  (
+    add_last 1;
+    "1 = ".print; last.print; '\n'.print;
+  );
diff --git a/tests/boolean_test3/make.lip b/tests/inherit_generic/make.lip
similarity index 94%
copy from tests/boolean_test3/make.lip
copy to tests/inherit_generic/make.lip
index 3799ca4..893df71 100644
--- a/tests/boolean_test3/make.lip
+++ b/tests/inherit_generic/make.lip
@@ -31,10 +31,10 @@ Section Private
   (
     general_front_end;
     path "./*";
-    input_file := "boolean_test3";
+    input_file := "main";
   );
 
   + m_test_description :STRING :=
-    "Test that ( + b:BOOLEAN; b == TRUE) compiles\n";
+    "Test inheritance from a generic prototype from a non generic one\n";
 
   + m_test_run :BOOLEAN := FALSE;

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list