[SCM] Lisaac compiler branch, stable, updated. lisaac-0.12-548-g38b6ee7
Mildred Ki'Lya
silkensedai at online.fr
Sat Oct 10 11:29:12 UTC 2009
The following commit has been merged in the stable branch:
commit 38b6ee706910cfc8be42aac066bfa4dac6480c72
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 6d99d1f..3122531 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -145,6 +145,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