diff --git a/test/bytecode/Identity.jav b/test/bytecode/Identity.jav index 28bdd3d1..4524c60b 100644 --- a/test/bytecode/Identity.jav +++ b/test/bytecode/Identity.jav @@ -1,4 +1,7 @@ class Identity{ op = (x)->x; +m(){ + op.apply(1); + } } \ No newline at end of file diff --git a/test/plugindevelopment/TypeInsertTests/Id.jav b/test/plugindevelopment/TypeInsertTests/Id.jav index 54a930cf..91d9acef 100644 --- a/test/plugindevelopment/TypeInsertTests/Id.jav +++ b/test/plugindevelopment/TypeInsertTests/Id.jav @@ -1,4 +1,8 @@ -class Id{ - op = (x)->x; -} +class Id { + op = (x) -> x; + +m(){ + op.apply(1); + } +}