Permalink
Browse files

[common] Stub in NQPHash. Doesn't do anything yet other that .new.

  • Loading branch information...
1 parent 666a4f4 commit 435bd2432c492fd4441eddaf649898993e7352c9 @jnthn committed Oct 19, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 common/NQP/NQPSetting.pm
@@ -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
# hold of a name for the most basic attribute class, so we just
# use the string representation.

0 comments on commit 435bd24

Please sign in to comment.