Mercurial > hg > truffle
comparison graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/ContainsTest.java @ 16866:d834f85ac8a1
small cleanup
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Tue, 19 Aug 2014 19:17:38 +0200 |
parents | 5148aab962af |
children | 0ea0c4133b78 |
comparison
equal
deleted
inserted
replaced
16865:8b0a6a9c3a4a | 16866:d834f85ac8a1 |
---|---|
378 | 378 |
379 boolean g1() { | 379 boolean g1() { |
380 return true; | 380 return true; |
381 } | 381 } |
382 | 382 |
383 @Specialization() | 383 @Specialization |
384 Object f0() { | 384 Object f0() { |
385 return null; | 385 return null; |
386 } | 386 } |
387 | 387 |
388 @ExpectError({"Specialization is not reachable. It is shadowed by f0().", "The contained specialization 'f0' is not fully compatible.%"}) | 388 @ExpectError({"Specialization is not reachable. It is shadowed by f0().", "The contained specialization 'f0' is not fully compatible.%"}) |