diff options
Diffstat (limited to 'stdlib/source/library/lux/meta/compiler/language/lux/phase/translation/jvm/function/method/implementation.lux')
-rw-r--r-- | stdlib/source/library/lux/meta/compiler/language/lux/phase/translation/jvm/function/method/implementation.lux | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/meta/compiler/language/lux/phase/translation/jvm/function/method/implementation.lux b/stdlib/source/library/lux/meta/compiler/language/lux/phase/translation/jvm/function/method/implementation.lux index 80491cbe4..c6f954e85 100644 --- a/stdlib/source/library/lux/meta/compiler/language/lux/phase/translation/jvm/function/method/implementation.lux +++ b/stdlib/source/library/lux/meta/compiler/language/lux/phase/translation/jvm/function/method/implementation.lux @@ -34,20 +34,22 @@ (def .public name "impl") (def .public (type :it: arity) - (-> (Type Class) Arity (Type category.Method)) + (-> (Type Class) Arity + (Type category.Method)) (type.method [(list) (list.partial :it: (list.repeated arity ////type.value)) ////type.value (list)])) -(def modifier +(def .public modifier (all modifier#composite method.static //.modifier )) (def .public (method :it: arity @begin body) - (-> (Type Class) Arity Label (Bytecode Any) (Resource Method)) + (-> (Type Class) Arity Label (Bytecode Any) + (Resource Method)) (method.method ..modifier ..name false (..type :it: arity) @@ -59,5 +61,6 @@ )})) (def .public (call :it: arity) - (-> (Type Class) Arity (Bytecode Any)) + (-> (Type Class) Arity + (Bytecode Any)) (_.invokestatic :it: ..name (..type :it: arity))) |