Skip to content

Commit

Permalink
[common] Stub in NQPHash. Doesn't do anything yet other that .new.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Oct 19, 2010
1 parent 666a4f4 commit 435bd24
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/NQP/NQPSetting.pm
Expand Up @@ -104,6 +104,12 @@ knowhow NQPArray is repr('P6list') {
} }
} }


knowhow NQPHash is repr('P6mapping') {
method new() {
nqp::instance_of(self.WHAT)
}
}

# This is a little bit of a cheat. We only really need to keep # This is a little bit of a cheat. We only really need to keep
# hold of a name for the most basic attribute class, so we just # hold of a name for the most basic attribute class, so we just
# use the string representation. # use the string representation.
Expand Down

0 comments on commit 435bd24

Please sign in to comment.