Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created September 16, 2009 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/188017 to your computer and use it in GitHub Desktop.
Save jnthn/188017 to your computer and use it in GitHub Desktop.
diff --git a/src/builtins/eval.pir b/src/builtins/eval.pir
diff --git a/src/parser/methods.pir b/src/parser/methods.pir
index f920dd7..a920208 100644
--- a/src/parser/methods.pir
+++ b/src/parser/methods.pir
@@ -141,6 +141,8 @@ Checks if the name we have been passed represents a type.
if null $P0 goto not_enum
if $P0 goto type_ok
not_enum:
+ $I0 = isa check_symbol, 'NameSpace'
+ if $I0 goto type_ok
goto fail_it
type_ok:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment