aboutsummaryrefslogtreecommitdiff
path: root/source/lux.lux
diff options
context:
space:
mode:
authorEduardo Julian2015-09-26 09:22:21 -0400
committerEduardo Julian2015-09-26 09:22:21 -0400
commit03bf7b58e6cf45b76b317369aa476443236658f9 (patch)
tree6ae80be5dde46a2bbaf9fe2b07188823e47589c7 /source/lux.lux
parentceff2a8a5fc4cb701a114071f75367c8b1004887 (diff)
- Both method declarations & method definitions in classes can now include declarations of which exceptions they throw.
Diffstat (limited to '')
-rw-r--r--source/lux.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lux.lux b/source/lux.lux
index 3ede6d75b..fbdd71904 100644
--- a/source/lux.lux
+++ b/source/lux.lux
@@ -5,7 +5,7 @@
## First things first, must define functions
(_jvm_interface "Function" []
- ("apply" ["java.lang.Object"] "java.lang.Object" ["public" "abstract"]))
+ ("apply" ["public" "abstract"] [] ["java.lang.Object"] "java.lang.Object"))
## Basic types
(_lux_def Bool (10 ["lux" "Bool"]