Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
World.is_name should not require the name to have a symbol knwon at c…
…ompile time
  • Loading branch information
moritz committed Aug 13, 2012
1 parent 70d8b2a commit b6bfd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/World.pm
Expand Up @@ -1620,7 +1620,7 @@ class Perl6::World is HLL::World {
$is_name := 1;
}
}
$is_name
$is_name || +@name == 1 && self.is_lexical(@name[0])
}

# Checks if a given symbol is declared and a type object.
Expand Down

0 comments on commit b6bfd77

Please sign in to comment.