pattern matching with type patterns

This commit is contained in:
Dmitry Jemerov
2011-05-19 19:48:19 +02:00
parent 0fe2b7ef2f
commit a58672515a
3 changed files with 38 additions and 15 deletions
@@ -35,7 +35,7 @@ public class PatternMatchingTest extends CodegenTestCase {
assertTrue(caught);
}
public void _testPattern() throws Exception {
public void testPattern() throws Exception {
loadFile();
Method foo = generateFunction();
assertEquals("string", foo.invoke(null, ""));