Skip to content

Instantly share code, notes, and snippets.

@selfsame
Created March 16, 2015 15:11
Show Gist options
  • Select an option

  • Save selfsame/8dd8c9f8a40ed54c00ab to your computer and use it in GitHub Desktop.

Select an option

Save selfsame/8dd8c9f8a40ed54c00ab to your computer and use it in GitHub Desktop.
user=> (require 'hard.hooks)
nil
user=> hard.hooks/MouseDown
System.InvalidOperationException: No such var: hard.hooks/MouseDown
at clojure.lang.Compiler.ResolveIn (clojure.lang.Namespace n, clojure.lang.Symbol symbol, Boolean allowPrivate) [0x00000] in <filename unknown>:0
at clojure.lang.Compiler.Resolve (clojure.lang.Symbol symbol) [0x00000] in <filename unknown>:0
at clojure.lang.Compiler.AnalyzeSymbol (clojure.lang.Symbol symbol) [0x00000] in <filename unknown>:0
at clojure.lang.Compiler.Analyze (clojure.lang.CljCompiler.Ast.ParserContext pcontext, System.Object form, System.String name) [0x00000] in <filename unknown>:0 , compiling: (NO_SOURCE_PATH:0:0)
user=> (use 'hard.hooks)
nil
user=> MouseDown
System.InvalidOperationException: Unable to resolve symbol: MouseDown in this context
at clojure.lang.Compiler.ResolveIn (clojure.lang.Namespace n, clojure.lang.Symbol symbol, Boolean allowPrivate) [0x00000] in <filename unknown>:0
at clojure.lang.Compiler.Resolve (clojure.lang.Symbol symbol) [0x00000] in <filename unknown>:0
at clojure.lang.Compiler.AnalyzeSymbol (clojure.lang.Symbol symbol) [0x00000] in <filename unknown>:0
at clojure.lang.Compiler.Analyze (clojure.lang.CljCompiler.Ast.ParserContext pcontext, System.Object form, System.String name) [0x00000] in <filename unknown>:0 , compiling: (NO_SOURCE_PATH:0:0)
user=> (.AddComponent (GameObject. ) MouseDown)
System.InvalidOperationException: Unable to resolve symbol: MouseDown in this context
at clojure.lang.Compiler.ResolveIn (clojure.lang.Namespace n, clojure.lang.Symbol symbol, Boolean allowPrivate) [0x00000] in <filename unknown>:0
at clojure.lang.Compiler.Resolve (clojure.lang.Symbol symbol) [0x00000] in <filename unknown>:0
at clojure.lang.Compiler.AnalyzeSymbol (clojure.lang.Symbol symbol) [0x00000] in <filename unknown>:0
at clojure.lang.Compiler.Analyze (clojure.lang.CljCompiler.Ast.ParserContext pcontext, System.Object form, System.String name) [0x00000] in <filename unknown>:0 , compiling: (NO_SOURCE_PATH:0:0)
user=> have-fun
#<hard/hooks$have_fun__23446 hard/hooks$have_fun__23446>
user=> (in-ns 'hard.hooks)
#<Namespace hard.hooks>
hard.hooks=> (.AddComponent (GameObject. ) MouseDown)
#<MouseDown New Game Object (hard.hooks.MouseDown)>
hard.hooks=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment