Permalink
Browse files

[SymbolTable] Fix lookup of type object with "::" in their names, jnt…

…hn++
  • Loading branch information...
tadzik committed Jul 8, 2011
1 parent b7d5fed commit 82b7267d781785f44e39820b4473d7f21d5f3898
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Perl6/SymbolTable.pm
View
@@ -722,7 +722,7 @@ class Perl6::SymbolTable is HLL::Compiler::SerializationContextBuilder {
# Find type object for the box typed we'll create.
# On deserialization, we'll need to look it up too.
- my $type_obj := self.find_symbol([$type]);
+ my $type_obj := self.find_symbol(pir::split('::', $type));
my $type_obj_lookup := self.get_object_sc_ref_past($type_obj);
# Go by the primitive type we're boxing. Need to create

0 comments on commit 82b7267

Please sign in to comment.