Mercurial > hg > truffle
diff graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/TypeSystemErrorsTest.java @ 11469:88316d1c4644
Truffle-DSL: preparations for implicit casts
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Fri, 30 Aug 2013 11:37:42 +0200 |
parents | 43eab069ca9b |
children | fce94b1d46f0 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/TypeSystemErrorsTest.java Thu Aug 29 19:19:33 2013 +0200 +++ b/graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/TypeSystemErrorsTest.java Fri Aug 30 11:37:42 2013 +0200 @@ -27,18 +27,18 @@ public class TypeSystemErrorsTest { @TypeSystem({int.class, boolean.class}) - static class Types0 { + public static class Types0 { } @ExpectError("Invalid type order. The type(s) [java.lang.String] are inherited from a earlier defined type java.lang.CharSequence.") @TypeSystem({CharSequence.class, String.class}) - static class Types1 { + public static class Types1 { } @TypeSystem({int.class, boolean.class}) - static class Types2 { + public static class Types2 { @TypeCast @ExpectError("The provided return type \"String\" does not match expected return type \"int\".%") @@ -49,7 +49,7 @@ } @TypeSystem({int.class, boolean.class}) - static class Types3 { + public static class Types3 { @TypeCast @ExpectError("The provided return type \"boolean\" does not match expected return type \"int\".%")