Created
January 19, 2009 19:53
-
-
Save samaaron/49140 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| obj.registerMethod(obj.runtime.newJavaMethod("Returns a text inspection of the object", new TypeCheckingJavaMethod.WithNoArguments("inspect", runtime.list) { | |
| @Override | |
| public Object activate(IokeObject method, Object on, List<Object> args, Map<String, Object> keywords, IokeObject context, IokeObject message) throws ControlFlow { | |
| return method.runtime.newText(IokeList.getInspect(on)); | |
| } | |
| })); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| compile: | |
| [javac] Compiling 121 source files to /Users/sam/Development/melwin/build/classes | |
| [javac] /Users/sam/Development/melwin/src/main/ioke/lang/IokeList.java:42: cannot find symbol | |
| [javac] symbol: class Map | |
| [javac] public Object activate(IokeObject method, Object on, List<Object> args, Map<String, Object> keywords, IokeObject context, IokeObject message) throws ControlFlow { | |
| [javac] ^ | |
| [javac] Note: Some input files use unchecked or unsafe operations. | |
| [javac] Note: Recompile with -Xlint:unchecked for details. | |
| [javac] 1 error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment