diff options
author | Keri Harris <keri@gentoo.org> | 2010-11-05 23:44:34 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2010-11-05 23:44:34 +0000 |
commit | 5b9bbcb6bce05040aaa1829f46841ec7af62a500 (patch) | |
tree | 1dd4b7a5d4b5842c216652dc7a93075753bf0e9c /dev-lang/tuprolog/files | |
parent | Fixed luadoc dependency. (diff) | |
download | gentoo-2-5b9bbcb6bce05040aaa1829f46841ec7af62a500.tar.gz gentoo-2-5b9bbcb6bce05040aaa1829f46841ec7af62a500.tar.bz2 gentoo-2-5b9bbcb6bce05040aaa1829f46841ec7af62a500.zip |
Add generics patch to fix tuprologx.AnotherList method call on Term lists
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/tuprolog/files')
-rw-r--r-- | dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-generics.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-generics.patch b/dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-generics.patch new file mode 100644 index 000000000000..2227fa1b89cd --- /dev/null +++ b/dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-generics.patch @@ -0,0 +1,11 @@ +--- tuprolog.orig/src/alice/tuprologx/pj/test/AnotherList.java 2010-01-21 21:29:48.000000000 +1300 ++++ tuprolog/src/alice/tuprologx/pj/test/AnotherList.java 2010-11-06 12:39:28.000000000 +1300 +@@ -47,7 +47,7 @@ + AnotherList lists = PJ.newInstance(AnotherList.class); + List<Int> l=lists.nil(); // Creating an empty list [] + for (int i=10;i>0;i--){ +- l=lists.add(new Int(i),l); // Adding elements...[1,2,3,4,5,6,7,8,9,10] ++ l=lists.<Int,List<Int>,List<Int>>add(new Int(i),l); // Adding elements...[1,2,3,4,5,6,7,8,9,10] + } + Var<List<Int>> l1 = new Var<List<Int>>("X"); + Var<List<Int>> l2 = new Var<List<Int>>("Y"); |