Skip to content

Commit

Permalink
Make a comment more accurate.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Aug 8, 2011
1 parent 362dac2 commit e76d280
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Perl6/SymbolTable.pm
Expand Up @@ -1265,7 +1265,7 @@ class Perl6::SymbolTable is HLL::Compiler::SerializationContextBuilder {
}
}

# Checks if a given symbol is declared and also a type object.
# Checks if a given symbol is declared.
method is_name(@name) {
my $is_name := 0;
try {
Expand Down Expand Up @@ -1320,12 +1320,12 @@ class Perl6::SymbolTable is HLL::Compiler::SerializationContextBuilder {
method find_symbol(@name) {
# Make sure it's not an empty name.
unless +@name { pir::die("Cannot look up empty name"); }

# GLOBAL is current view of global.
if +@name == 1 && @name[0] eq 'GLOBAL' {
return $*GLOBALish;
}

# If it's a single-part name, look through the lexical
# scopes.
if +@name == 1 {
Expand Down

0 comments on commit e76d280

Please sign in to comment.