Skip to content

Commit f97b5e9

Browse files
committed
Pass test 72.
Set WHAT on STables when creating type objects.
1 parent abe3399 commit f97b5e9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/vm/js/bin/run_tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
# 19 and 30 where moved out as they were parrot specific, 52,54 is missing, we can't pass 49 till we are bootstraped
3-
prove "$@" -e './nqp-js' t/nqp/{01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,20,21,22,23,25,26,27,28,33,35,36,37,38,39,40,41,42,46,47,48,51,53,55,56,57,58,59,60,61,63,64,65,68,69,70,71,73,74,75,76,77,78,79,81,83,88,89,90,91,92,93,94,95}* t/js/getcomp-js.t t/qast/02*
3+
prove "$@" -e './nqp-js' t/nqp/{01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,20,21,22,23,25,26,27,28,33,35,36,37,38,39,40,41,42,46,47,48,51,53,55,56,57,58,59,60,61,63,64,65,68,69,70,71,72,73,74,75,76,77,78,79,81,83,88,89,90,91,92,93,94,95}* t/js/getcomp-js.t t/qast/02*

src/vm/js/nqp-runtime/reprs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ function basic_type_object_for(HOW) {
66
this._STable = st;
77
var obj = new st.obj_constructor();
88

9+
this._STable.WHAT = obj;
910
obj.type_object_ = 1;
1011
return obj;
1112
}

0 commit comments

Comments
 (0)