Created
November 14, 2017 14:44
-
-
Save sjrd/5a1a20da63fd7ffba9c7aa727628c93a to your computer and use it in GitHub Desktop.
Intrinsify `js.Dictionary.apply` and `js.Dynamic.literal`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- ../scalajs-test-suite-test-fastopt.js 2017-11-14 13:16:00.385812067 +0100 | |
| +++ test-suite/js/target/scala-2.12/scalajs-test-suite-test-fastopt.js 2017-11-14 15:26:23.517059382 +0100 | |
| @@ -4168,22 +4168,25 @@ | |
| return passedThis$2 | |
| }) | |
| })($thiz)); | |
| + var y = (function(arg$outer) { | |
| + return (function() { | |
| + return this | |
| + }) | |
| + })($thiz); | |
| + var y$1 = (function(f$1) { | |
| + return (function() { | |
| + return f$1.apply__O__O(this) | |
| + }) | |
| + })(f); | |
| + var y$2 = (function(f$2) { | |
| + return (function() { | |
| + return f$2.apply__O__O(this) | |
| + }) | |
| + })(f); | |
| return { | |
| - "foo": (function(arg$outer) { | |
| - return (function() { | |
| - return this | |
| - }) | |
| - })($thiz), | |
| - "bar": (function(f$1) { | |
| - return (function() { | |
| - return f$1.apply__O__O(this) | |
| - }) | |
| - })(f), | |
| - "foobar": (function(f$2) { | |
| - return (function() { | |
| - return f$2.apply__O__O(this) | |
| - }) | |
| - })(f) | |
| + "foo": y, | |
| + "bar": y$1, | |
| + "foobar": y$2 | |
| } | |
| } | |
| function $is_Lorg_scalajs_testsuite_library_ReflectTest$Accessors(obj) { | |
| @@ -112527,50 +112530,54 @@ | |
| } | |
| $h_Lorg_scalajs_testsuite_jsinterop_DictionaryTest.prototype = $c_Lorg_scalajs_testsuite_jsinterop_DictionaryTest.prototype; | |
| $c_Lorg_scalajs_testsuite_jsinterop_DictionaryTest.prototype.should$undprovide$undan$unditerator__V = (function() { | |
| - var obj = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("foo", 5), new $c_T2().init___O__O("bar", 42), new $c_T2().init___O__O("babar", 0)])); | |
| + var obj = { | |
| + "foo": 5, | |
| + "bar": 42, | |
| + "babar": 0 | |
| + }; | |
| var elem = $m_sci_Nil$(); | |
| var elems = new $c_sr_ObjectRef(elem); | |
| - var this$9 = new $c_sjs_js_WrappedDictionary(obj); | |
| + var this$10 = new $c_sjs_js_WrappedDictionary(obj); | |
| var p = new $c_sjsr_AnonFunction1((function($this) { | |
| return (function(check$ifrefutable$1$2) { | |
| var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); | |
| return (check$ifrefutable$1 !== null) | |
| }) | |
| })(this)); | |
| - new $c_sc_TraversableLike$WithFilter(this$9, p).foreach__F1__V(new $c_sjsr_AnonFunction1((function(this$2$1, elems$1) { | |
| + new $c_sc_TraversableLike$WithFilter(this$10, p).foreach__F1__V(new $c_sjsr_AnonFunction1((function(this$2$1, elems$1) { | |
| return (function(x$1$2) { | |
| var x$1 = $as_T2(x$1$2); | |
| if ((x$1 !== null)) { | |
| var prop = $as_T(x$1.$$und1__O()); | |
| var value = x$1.$$und2$mcI$sp__I(); | |
| - var this$10 = $as_sci_List(elems$1.elem$1); | |
| + var this$11 = $as_sci_List(elems$1.elem$1); | |
| var x = new $c_T2().init___O__O(prop, value); | |
| - elems$1.elem$1 = new $c_sci_$colon$colon(x, this$10) | |
| + elems$1.elem$1 = new $c_sci_$colon$colon(x, this$11) | |
| } else { | |
| throw new $c_s_MatchError(x$1) | |
| } | |
| }) | |
| })(this, elems))); | |
| - var this$13 = $m_Lorg_junit_Assert$(); | |
| - var this$11 = $as_sci_List(elems.elem$1); | |
| - var value$1 = $f_sc_LinearSeqOptimized__length__I(this$11); | |
| + var this$14 = $m_Lorg_junit_Assert$(); | |
| + var this$12 = $as_sci_List(elems.elem$1); | |
| + var value$1 = $f_sc_LinearSeqOptimized__length__I(this$12); | |
| var hi = (value$1 >> 31); | |
| - this$13.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(3, 0), new $c_sjsr_RuntimeLong(value$1, hi)); | |
| - var this$15 = $m_Lorg_junit_Assert$(); | |
| - var this$14 = $as_sci_List(elems.elem$1); | |
| + this$14.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(3, 0), new $c_sjsr_RuntimeLong(value$1, hi)); | |
| + var this$16 = $m_Lorg_junit_Assert$(); | |
| + var this$15 = $as_sci_List(elems.elem$1); | |
| var elem$1 = new $c_T2().init___O__O("foo", 5); | |
| - var condition = $f_sc_LinearSeqOptimized__contains__O__Z(this$14, elem$1); | |
| - this$15.assertTrue__T__Z__V(null, condition); | |
| - var this$17 = $m_Lorg_junit_Assert$(); | |
| - var this$16 = $as_sci_List(elems.elem$1); | |
| + var condition = $f_sc_LinearSeqOptimized__contains__O__Z(this$15, elem$1); | |
| + this$16.assertTrue__T__Z__V(null, condition); | |
| + var this$18 = $m_Lorg_junit_Assert$(); | |
| + var this$17 = $as_sci_List(elems.elem$1); | |
| var elem$2 = new $c_T2().init___O__O("bar", 42); | |
| - var condition$1 = $f_sc_LinearSeqOptimized__contains__O__Z(this$16, elem$2); | |
| - this$17.assertTrue__T__Z__V(null, condition$1); | |
| - var this$19 = $m_Lorg_junit_Assert$(); | |
| - var this$18 = $as_sci_List(elems.elem$1); | |
| + var condition$1 = $f_sc_LinearSeqOptimized__contains__O__Z(this$17, elem$2); | |
| + this$18.assertTrue__T__Z__V(null, condition$1); | |
| + var this$20 = $m_Lorg_junit_Assert$(); | |
| + var this$19 = $as_sci_List(elems.elem$1); | |
| var elem$3 = new $c_T2().init___O__O("babar", 0); | |
| - var condition$2 = $f_sc_LinearSeqOptimized__contains__O__Z(this$18, elem$3); | |
| - this$19.assertTrue__T__Z__V(null, condition$2) | |
| + var condition$2 = $f_sc_LinearSeqOptimized__contains__O__Z(this$19, elem$3); | |
| + this$20.assertTrue__T__Z__V(null, condition$2) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_DictionaryTest.prototype.should$undprovide$undtoJSDictionary__V = (function() { | |
| var this$8 = $m_sjs_js_JSConverters$JSRichGenMap$(); | |
| @@ -112664,28 +112671,33 @@ | |
| this$9.assertTrue__T__Z__V(null, (!condition$1)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_DictionaryTest.prototype.should$undprovide$undkeys__V = (function() { | |
| - var obj = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("a", "A"), new $c_T2().init___O__O("b", "B")])); | |
| + var obj = { | |
| + "a": "A", | |
| + "b": "B" | |
| + }; | |
| var array = Object.keys(obj); | |
| - var this$7 = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array); | |
| - var this$8 = $m_sci_List$(); | |
| - var cbf = this$8.ReusableCBFInstance$2; | |
| - var keys = $as_sci_List($f_sc_TraversableLike__to__scg_CanBuildFrom__O(this$7, cbf)); | |
| - var this$10 = $m_Lorg_junit_Assert$(); | |
| + var this$8 = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array); | |
| + var this$9 = $m_sci_List$(); | |
| + var cbf = this$9.ReusableCBFInstance$2; | |
| + var keys = $as_sci_List($f_sc_TraversableLike__to__scg_CanBuildFrom__O(this$8, cbf)); | |
| + var this$11 = $m_Lorg_junit_Assert$(); | |
| var value = $f_sc_LinearSeqOptimized__length__I(keys); | |
| var hi = (value >> 31); | |
| - this$10.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value, hi)); | |
| - var this$11 = $m_Lorg_junit_Assert$(); | |
| - var condition = $f_sc_LinearSeqOptimized__contains__O__Z(keys, "a"); | |
| - this$11.assertTrue__T__Z__V(null, condition); | |
| + this$11.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value, hi)); | |
| var this$12 = $m_Lorg_junit_Assert$(); | |
| + var condition = $f_sc_LinearSeqOptimized__contains__O__Z(keys, "a"); | |
| + this$12.assertTrue__T__Z__V(null, condition); | |
| + var this$13 = $m_Lorg_junit_Assert$(); | |
| var condition$1 = $f_sc_LinearSeqOptimized__contains__O__Z(keys, "b"); | |
| - this$12.assertTrue__T__Z__V(null, condition$1) | |
| + this$13.assertTrue__T__Z__V(null, condition$1) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_DictionaryTest.prototype.notify__ = (function() { | |
| return (void 0) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_DictionaryTest.prototype.apply$undshould$undthrow$undwhen$undnot$undfound__V = (function() { | |
| - var obj = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("foo", "bar")])); | |
| + var obj = { | |
| + "foo": "bar" | |
| + }; | |
| $m_Lorg_scalajs_testsuite_utils_AssertThrows$().assertThrows__jl_Class__F0__V($d_ju_NoSuchElementException.getClassOf(), new $c_sjsr_AnonFunction0((function($this, obj$1) { | |
| return (function() { | |
| if ((!$uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(obj$1, "bar")))) { | |
| @@ -112696,7 +112708,9 @@ | |
| })(this, obj))) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_DictionaryTest.prototype.$$minus$eq$undshould$undignore$unddeleting$unda$undnon$undexistent$undkey__V = (function() { | |
| - var obj = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("a", "A")])); | |
| + var obj = { | |
| + "a": "A" | |
| + }; | |
| if ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(obj, "b"))) { | |
| delete obj.b | |
| } | |
| @@ -112759,9 +112773,9 @@ | |
| $h_Lorg_scalajs_testsuite_jsinterop_DynamicTest.prototype = $c_Lorg_scalajs_testsuite_jsinterop_DynamicTest.prototype; | |
| $c_Lorg_scalajs_testsuite_jsinterop_DynamicTest.prototype.should$undallow$undto$undcreate$undan$undempty$undobject$undwith$undthe$undliteral$undsyntax__V = (function() { | |
| var x = {}; | |
| - var this$1 = $m_Lorg_junit_Assert$(); | |
| + var this$2 = $m_Lorg_junit_Assert$(); | |
| var condition = $uZ((x instanceof Object)); | |
| - this$1.assertTrue__T__Z__V(null, condition) | |
| + this$2.assertTrue__T__Z__V(null, condition) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_DynamicTest.prototype.should$undallow$undobject$undliterals$undto$undhave$undduplicate$undkeys$undissue$und1595__V = (function() { | |
| var jsx$1 = {}; | |
| @@ -112769,27 +112783,28 @@ | |
| jsx$1.foo = 6; | |
| var a = jsx$1; | |
| var a_foo = a.foo; | |
| - var this$4 = $m_Lorg_junit_Assert$(); | |
| - this$4.assertEquals__T__O__O__V(null, 6, a_foo); | |
| - var a_bar = a.bar; | |
| var this$5 = $m_Lorg_junit_Assert$(); | |
| - this$5.assertEquals__T__O__O__V(null, 5, a_bar); | |
| + this$5.assertEquals__T__O__O__V(null, 6, a_foo); | |
| + var a_bar = a.bar; | |
| + var this$6 = $m_Lorg_junit_Assert$(); | |
| + this$6.assertEquals__T__O__O__V(null, 5, a_bar); | |
| var counter = 0; | |
| - var jsx$2 = {}; | |
| counter = ((1 + counter) | 0); | |
| + var _2 = "foo"; | |
| + var jsx$2 = {}; | |
| jsx$2.bar = "bar"; | |
| jsx$2.foo = "foobar"; | |
| var b = jsx$2; | |
| - var this$10 = $m_Lorg_junit_Assert$(); | |
| + var this$12 = $m_Lorg_junit_Assert$(); | |
| var value = counter; | |
| var hi = (value >> 31); | |
| - this$10.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value, hi)); | |
| + this$12.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value, hi)); | |
| var b_foo = b.foo; | |
| - var this$11 = $m_Lorg_junit_Assert$(); | |
| - this$11.assertEquals__T__O__O__V(null, "foobar", b_foo); | |
| + var this$13 = $m_Lorg_junit_Assert$(); | |
| + this$13.assertEquals__T__O__O__V(null, "foobar", b_foo); | |
| var b_bar = b.bar; | |
| - var this$12 = $m_Lorg_junit_Assert$(); | |
| - this$12.assertEquals__T__O__O__V(null, "bar", b_bar); | |
| + var this$14 = $m_Lorg_junit_Assert$(); | |
| + this$14.assertEquals__T__O__O__V(null, "bar", b_bar); | |
| var jsx$4 = {}; | |
| jsx$4.bar = 5; | |
| jsx$4.foo = 6; | |
| @@ -112802,11 +112817,11 @@ | |
| "bar": "foobar" | |
| }; | |
| var x_foo = x.foo; | |
| - var this$3 = $m_Lorg_junit_Assert$(); | |
| - this$3.assertEquals__T__O__O__V(null, 3, x_foo); | |
| + var this$8 = $m_Lorg_junit_Assert$(); | |
| + this$8.assertEquals__T__O__O__V(null, 3, x_foo); | |
| var x_bar = x.bar; | |
| - var this$4 = $m_Lorg_junit_Assert$(); | |
| - this$4.assertEquals__T__O__O__V(null, "foobar", x_bar); | |
| + var this$9 = $m_Lorg_junit_Assert$(); | |
| + this$9.assertEquals__T__O__O__V(null, "foobar", x_bar); | |
| var x_unknown = x.unknown; | |
| $m_Lorg_scalajs_testsuite_utils_JSAssert$().assertJSUndefined__O__V(x_unknown); | |
| var y = { | |
| @@ -112814,23 +112829,23 @@ | |
| "hello2": 10 | |
| }; | |
| var y_hello1 = y.hello1; | |
| - var this$7 = $m_Lorg_junit_Assert$(); | |
| - this$7.assertEquals__T__O__O__V(null, 3, y_hello1); | |
| + var this$13 = $m_Lorg_junit_Assert$(); | |
| + this$13.assertEquals__T__O__O__V(null, 3, y_hello1); | |
| var y_hello2 = y.hello2; | |
| - var this$8 = $m_Lorg_junit_Assert$(); | |
| - this$8.assertEquals__T__O__O__V(null, 10, y_hello2); | |
| + var this$14 = $m_Lorg_junit_Assert$(); | |
| + this$14.assertEquals__T__O__O__V(null, 10, y_hello2); | |
| var count = 0; | |
| count = ((1 + count) | 0); | |
| var z = { | |
| "foo": "bar" | |
| }; | |
| var z_foo = z.foo; | |
| - var this$10 = $m_Lorg_junit_Assert$(); | |
| - this$10.assertEquals__T__O__O__V(null, "bar", z_foo); | |
| - var this$12 = $m_Lorg_junit_Assert$(); | |
| + var this$17 = $m_Lorg_junit_Assert$(); | |
| + this$17.assertEquals__T__O__O__V(null, "bar", z_foo); | |
| + var this$19 = $m_Lorg_junit_Assert$(); | |
| var value = count; | |
| var hi = (value >> 31); | |
| - this$12.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| + this$19.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_DynamicTest.prototype.obj3Args$1__p1__sc_Seq = (function() { | |
| return $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Scala.js", 42, true]))) | |
| @@ -112839,21 +112854,21 @@ | |
| var a = { | |
| "theValue": 1 | |
| }; | |
| - var this$2 = $m_Lorg_junit_Assert$(); | |
| - var condition = $uZ(a.hasOwnProperty("theValue")); | |
| - this$2.assertTrue__T__Z__V(null, condition); | |
| var this$3 = $m_Lorg_junit_Assert$(); | |
| + var condition = $uZ(a.hasOwnProperty("theValue")); | |
| + this$3.assertTrue__T__Z__V(null, condition); | |
| + var this$4 = $m_Lorg_junit_Assert$(); | |
| var condition$1 = $uZ(a.hasOwnProperty("noValue")); | |
| - this$3.assertTrue__T__Z__V(null, (!condition$1)); | |
| + this$4.assertTrue__T__Z__V(null, (!condition$1)); | |
| var b = { | |
| "theValue": 2 | |
| }; | |
| - var this$5 = $m_Lorg_junit_Assert$(); | |
| + var this$9 = $m_Lorg_junit_Assert$(); | |
| var condition$2 = $uZ(b.hasOwnProperty("theValue")); | |
| - this$5.assertTrue__T__Z__V(null, condition$2); | |
| - var this$6 = $m_Lorg_junit_Assert$(); | |
| + this$9.assertTrue__T__Z__V(null, condition$2); | |
| + var this$10 = $m_Lorg_junit_Assert$(); | |
| var condition$3 = $uZ(b.hasOwnProperty("noValue")); | |
| - this$6.assertTrue__T__Z__V(null, (!condition$3)) | |
| + this$10.assertTrue__T__Z__V(null, (!condition$3)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_DynamicTest.prototype.shouldNotListScalaDynamicAsSuperIntf__V = (function() { | |
| var this$1 = $m_Lorg_junit_Assert$(); | |
| @@ -112865,31 +112880,32 @@ | |
| "3-": 42 | |
| }; | |
| var obj0_3$minus = obj0["3-"]; | |
| - var this$2 = $m_Lorg_junit_Assert$(); | |
| - this$2.assertEquals__T__O__O__V(null, 42, obj0_3$minus); | |
| var this$5 = $m_Lorg_junit_Assert$(); | |
| + this$5.assertEquals__T__O__O__V(null, 42, obj0_3$minus); | |
| + var this$8 = $m_Lorg_junit_Assert$(); | |
| if ((!$uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(obj0, "3-")))) { | |
| throw new $c_ju_NoSuchElementException().init___T("key not found: 3-") | |
| }; | |
| var actual = obj0["3-"]; | |
| - this$5.assertEquals__T__O__O__V(null, 42, actual); | |
| + this$8.assertEquals__T__O__O__V(null, 42, actual); | |
| var checkEvilProperties = (0, eval)("\n function dynamicLiteralNameEncoding_checkEvilProperties(x) {\n return x['.o[3\u221a!|-pr()per7:3$];'] === ' such eval ';\n }\n dynamicLiteralNameEncoding_checkEvilProperties\n "); | |
| var obj1 = { | |
| ".o[3\u221a!|-pr()per7:3$];": " such eval " | |
| }; | |
| - var this$11 = $m_Lorg_junit_Assert$(); | |
| + var this$17 = $m_Lorg_junit_Assert$(); | |
| if ((!$uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(obj1, ".o[3\u221a!|-pr()per7:3$];")))) { | |
| throw new $c_ju_NoSuchElementException().init___T("key not found: .o[3\u221a!|-pr()per7:3$];") | |
| }; | |
| var actual$1 = obj1[".o[3\u221a!|-pr()per7:3$];"]; | |
| - this$11.assertEquals__T__O__O__V(null, " such eval ", actual$1); | |
| - var this$12 = $m_Lorg_junit_Assert$(); | |
| + this$17.assertEquals__T__O__O__V(null, " such eval ", actual$1); | |
| + var this$18 = $m_Lorg_junit_Assert$(); | |
| var condition = $uZ(checkEvilProperties(obj1)); | |
| - this$12.assertTrue__T__Z__V(null, condition); | |
| + this$18.assertTrue__T__Z__V(null, condition); | |
| var checkQuotesProperty = (0, eval)("\n function dynamicLiteralNameEncoding_quote(x) {\n return x[\"'\" + '\"'] === 7357;\n }\n dynamicLiteralNameEncoding_quote\n "); | |
| var jsx$3 = $m_sc_Seq$(); | |
| + var self = new $c_s_StringContext(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["'", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$bC(34)])); | |
| var jsx$2 = {}; | |
| - jsx$2[new $c_s_StringContext(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["'", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$bC(34)]))] = 7357; | |
| + jsx$2[self] = 7357; | |
| var jsx$1 = jsx$2; | |
| $as_sc_IterableLike(jsx$3.apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([{ | |
| "'\"": 7357 | |
| @@ -112899,29 +112915,29 @@ | |
| "'\"": 7357 | |
| }]))).foreach__F1__V(new $c_sjsr_AnonFunction1((function($this, checkQuotesProperty$1, quote) { | |
| return (function(o$2) { | |
| - var this$21 = $m_Lorg_junit_Assert$(); | |
| + var this$39 = $m_Lorg_junit_Assert$(); | |
| if ((!$uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(o$2, "'\"")))) { | |
| throw new $c_ju_NoSuchElementException().init___T("key not found: '\"") | |
| }; | |
| var actual$2 = o$2["'\""]; | |
| - this$21.assertEquals__T__O__O__V(null, 7357, actual$2); | |
| - var this$24 = $m_Lorg_junit_Assert$(); | |
| + this$39.assertEquals__T__O__O__V(null, 7357, actual$2); | |
| + var this$42 = $m_Lorg_junit_Assert$(); | |
| var key = ("'" + $bC(quote)); | |
| if ((!$uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(o$2, key)))) { | |
| throw new $c_ju_NoSuchElementException().init___T(("key not found: " + key)) | |
| }; | |
| var actual$3 = o$2[key]; | |
| - this$24.assertEquals__T__O__O__V(null, 7357, actual$3); | |
| - var this$27 = $m_Lorg_junit_Assert$(); | |
| + this$42.assertEquals__T__O__O__V(null, 7357, actual$3); | |
| + var this$45 = $m_Lorg_junit_Assert$(); | |
| var key$1 = new $c_s_StringContext(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["'", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$bC(quote)])); | |
| if ((!$uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(o$2, key$1)))) { | |
| throw new $c_ju_NoSuchElementException().init___T(("key not found: " + key$1)) | |
| }; | |
| var actual$4 = o$2[key$1]; | |
| - this$27.assertEquals__T__O__O__V(null, 7357, actual$4); | |
| - var this$28 = $m_Lorg_junit_Assert$(); | |
| + this$45.assertEquals__T__O__O__V(null, 7357, actual$4); | |
| + var this$46 = $m_Lorg_junit_Assert$(); | |
| var condition$1 = $uZ(checkQuotesProperty$1(o$2)); | |
| - this$28.assertTrue__T__Z__V(null, condition$1) | |
| + this$46.assertTrue__T__Z__V(null, condition$1) | |
| }) | |
| })(this, checkQuotesProperty, 34))) | |
| }); | |
| @@ -112953,48 +112969,14 @@ | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_DynamicTest.prototype.should$undaccept$und$colon$und$und$times$undarguments$undfor$undliteral$undconstruction$undissue$und1743__V = (function() { | |
| var fields = $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("foo", 42), new $c_T2().init___O__O("bar", "foobar")]))); | |
| - var jsx$2 = $m_sjsr_package$(); | |
| - var this$7 = $m_sjsr_package$(); | |
| - if ($is_sjs_js_ArrayOps(fields)) { | |
| - var x2 = $as_sjs_js_ArrayOps(fields); | |
| - var jsx$1 = x2.scala$scalajs$js$ArrayOps$$array$f | |
| - } else if ($is_sjs_js_WrappedArray(fields)) { | |
| - var x3 = $as_sjs_js_WrappedArray(fields); | |
| - var jsx$1 = x3.array$6 | |
| - } else { | |
| - var result = []; | |
| - fields.foreach__F1__V(new $c_sjsr_AnonFunction1((function($this, result$1) { | |
| - return (function(x$2) { | |
| - return $uI(result$1.push(x$2)) | |
| - }) | |
| - })(this$7, result))); | |
| - var jsx$1 = result | |
| - }; | |
| - var x = jsx$2.jsTupleArray2jsObject__sjs_js_Array__sjs_js_Object(jsx$1); | |
| + var x = $m_sjs_js_special_package$().objectLiteral__sc_Seq__sjs_js_Object(fields); | |
| var x_foo = x.foo; | |
| var this$8 = $m_Lorg_junit_Assert$(); | |
| this$8.assertEquals__T__O__O__V(null, 42, x_foo); | |
| var x_bar = x.bar; | |
| var this$9 = $m_Lorg_junit_Assert$(); | |
| this$9.assertEquals__T__O__O__V(null, "foobar", x_bar); | |
| - var jsx$4 = $m_sjsr_package$(); | |
| - var this$10 = $m_sjsr_package$(); | |
| - if ($is_sjs_js_ArrayOps(fields)) { | |
| - var x2$1 = $as_sjs_js_ArrayOps(fields); | |
| - var jsx$3 = x2$1.scala$scalajs$js$ArrayOps$$array$f | |
| - } else if ($is_sjs_js_WrappedArray(fields)) { | |
| - var x3$1 = $as_sjs_js_WrappedArray(fields); | |
| - var jsx$3 = x3$1.array$6 | |
| - } else { | |
| - var result$2 = []; | |
| - fields.foreach__F1__V(new $c_sjsr_AnonFunction1((function($this$1, result$3) { | |
| - return (function(x$2$1) { | |
| - return $uI(result$3.push(x$2$1)) | |
| - }) | |
| - })(this$10, result$2))); | |
| - var jsx$3 = result$2 | |
| - }; | |
| - var y = jsx$4.jsTupleArray2jsObject__sjs_js_Array__sjs_js_Object(jsx$3); | |
| + var y = $m_sjs_js_special_package$().objectLiteral__sc_Seq__sjs_js_Object(fields); | |
| var y_foo = y.foo; | |
| var this$11 = $m_Lorg_junit_Assert$(); | |
| this$11.assertEquals__T__O__O__V(null, 42, y_foo); | |
| @@ -113008,31 +112990,33 @@ | |
| "bar": "foobar" | |
| }; | |
| var x_foo = x.foo; | |
| - var this$4 = $m_Lorg_junit_Assert$(); | |
| + var this$5 = $m_Lorg_junit_Assert$(); | |
| var value = $uI(x_foo); | |
| var hi = (value >> 31); | |
| - this$4.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(3, 0), new $c_sjsr_RuntimeLong(value, hi)); | |
| + this$5.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(3, 0), new $c_sjsr_RuntimeLong(value, hi)); | |
| var x_bar = x.bar; | |
| - var this$5 = $m_Lorg_junit_Assert$(); | |
| - this$5.assertEquals__T__O__O__V(null, "foobar", x_bar); | |
| + var this$6 = $m_Lorg_junit_Assert$(); | |
| + this$6.assertEquals__T__O__O__V(null, "foobar", x_bar); | |
| var x_unknown = x.unknown; | |
| $m_Lorg_scalajs_testsuite_utils_JSAssert$().assertJSUndefined__O__V(x_unknown); | |
| + var _2 = { | |
| + "name": "inner obj" | |
| + }; | |
| + var _2$1 = (function($this) { | |
| + return (function() { | |
| + return 42 | |
| + }) | |
| + })(this); | |
| var y = { | |
| - "inner": { | |
| - "name": "inner obj" | |
| - }, | |
| - "fun": (function($this) { | |
| - return (function() { | |
| - return 42 | |
| - }) | |
| - })(this) | |
| + "inner": _2, | |
| + "fun": _2$1 | |
| }; | |
| var y_inner_name = y.inner.name; | |
| - var this$7 = $m_Lorg_junit_Assert$(); | |
| - this$7.assertEquals__T__O__O__V(null, "inner obj", y_inner_name); | |
| - var this$8 = $m_Lorg_junit_Assert$(); | |
| + var this$10 = $m_Lorg_junit_Assert$(); | |
| + this$10.assertEquals__T__O__O__V(null, "inner obj", y_inner_name); | |
| + var this$11 = $m_Lorg_junit_Assert$(); | |
| var actual = y.fun(); | |
| - this$8.assertEquals__T__O__O__V(null, 42, actual); | |
| + this$11.assertEquals__T__O__O__V(null, 42, actual); | |
| var obj_anything = {}.anything; | |
| $m_Lorg_scalajs_testsuite_utils_JSAssert$().assertJSUndefined__O__V(obj_anything) | |
| }); | |
| @@ -113067,22 +113051,30 @@ | |
| $c_Lorg_scalajs_testsuite_jsinterop_DynamicTest.prototype.should$undpreserve$undevaluation$undorder$undof$undkeys$undand$undvalues__V = (function() { | |
| var elems$2 = null; | |
| elems$2 = []; | |
| + elems$2.push(1); | |
| + var self = "foo"; | |
| + elems$2.push(2); | |
| + var y = 3; | |
| + elems$2.push(3); | |
| + var self$1 = "bar"; | |
| + elems$2.push(4); | |
| + var y$1 = "foobar"; | |
| var jsx$1 = {}; | |
| - jsx$1[(elems$2.push(1), "foo")] = (elems$2.push(2), 3); | |
| - jsx$1[(elems$2.push(3), "bar")] = (elems$2.push(4), "foobar"); | |
| + jsx$1[self] = y; | |
| + jsx$1[self$1] = y$1; | |
| var x = jsx$1; | |
| var x_foo = x.foo; | |
| - var this$8 = $m_Lorg_junit_Assert$(); | |
| - this$8.assertEquals__T__O__O__V(null, 3, x_foo); | |
| + var this$13 = $m_Lorg_junit_Assert$(); | |
| + this$13.assertEquals__T__O__O__V(null, 3, x_foo); | |
| var x_bar = x.bar; | |
| - var this$9 = $m_Lorg_junit_Assert$(); | |
| - this$9.assertEquals__T__O__O__V(null, "foobar", x_bar); | |
| + var this$14 = $m_Lorg_junit_Assert$(); | |
| + this$14.assertEquals__T__O__O__V(null, "foobar", x_bar); | |
| var x_unknown = x.unknown; | |
| $m_Lorg_scalajs_testsuite_utils_JSAssert$().assertJSUndefined__O__V(x_unknown); | |
| var expecteds = $m_s_Array$().apply__I__sc_Seq__AI(1, new $c_sjs_js_WrappedArray().init___sjs_js_Array([2, 3, 4])); | |
| var actuals = $makeNativeArrayWrapper($d_I.getArrayOf(), elems$2); | |
| - var this$11 = new $c_Lorg_junit_internal_ExactComparisonCriteria(); | |
| - this$11.arrayEquals__p1__T__O__O__Z__V(null, expecteds, actuals, true); | |
| + var this$16 = new $c_Lorg_junit_internal_ExactComparisonCriteria(); | |
| + this$16.arrayEquals__p1__T__O__O__Z__V(null, expecteds, actuals, true); | |
| var elems$2$1 = null; | |
| elems$2$1 = []; | |
| elems$2$1.push(1); | |
| @@ -113096,43 +113088,43 @@ | |
| var jsx$2 = {}; | |
| jsx$2[_1] = _2; | |
| jsx$2[_1$1] = _2$1; | |
| - var y = jsx$2; | |
| - var y_hello1 = y.hello1; | |
| - var this$19 = $m_Lorg_junit_Assert$(); | |
| - this$19.assertEquals__T__O__O__V(null, 3, y_hello1); | |
| - var y_hello2 = y.hello2; | |
| - var this$20 = $m_Lorg_junit_Assert$(); | |
| - this$20.assertEquals__T__O__O__V(null, 10, y_hello2); | |
| + var y$2 = jsx$2; | |
| + var y_hello1 = y$2.hello1; | |
| + var this$25 = $m_Lorg_junit_Assert$(); | |
| + this$25.assertEquals__T__O__O__V(null, 3, y_hello1); | |
| + var y_hello2 = y$2.hello2; | |
| + var this$26 = $m_Lorg_junit_Assert$(); | |
| + this$26.assertEquals__T__O__O__V(null, 10, y_hello2); | |
| var expecteds$1 = $m_s_Array$().apply__I__sc_Seq__AI(1, new $c_sjs_js_WrappedArray().init___sjs_js_Array([2, 3, 4])); | |
| var actuals$1 = $makeNativeArrayWrapper($d_I.getArrayOf(), elems$2$1); | |
| - var this$22 = new $c_Lorg_junit_internal_ExactComparisonCriteria(); | |
| - this$22.arrayEquals__p1__T__O__O__Z__V(null, expecteds$1, actuals$1, true); | |
| + var this$28 = new $c_Lorg_junit_internal_ExactComparisonCriteria(); | |
| + this$28.arrayEquals__p1__T__O__O__Z__V(null, expecteds$1, actuals$1, true); | |
| var elems$2$2 = null; | |
| elems$2$2 = []; | |
| - var jsx$3 = {}; | |
| var a = $as_T(this.block$1__p1__O__O("foo")); | |
| elems$2$2.push(1); | |
| var a$2 = $uI(this.block$1__p1__O__O(3)); | |
| elems$2$2.push(2); | |
| - jsx$3[a] = a$2; | |
| var a$3 = $as_T(this.block$1__p1__O__O("bar")); | |
| elems$2$2.push(3); | |
| var a$4 = $as_T(this.block$1__p1__O__O("foobar")); | |
| elems$2$2.push(4); | |
| + var jsx$3 = {}; | |
| + jsx$3[a] = a$2; | |
| jsx$3[a$3] = a$4; | |
| var z = jsx$3; | |
| var z_foo = z.foo; | |
| - var this$30 = $m_Lorg_junit_Assert$(); | |
| - this$30.assertEquals__T__O__O__V(null, 3, z_foo); | |
| + var this$41 = $m_Lorg_junit_Assert$(); | |
| + this$41.assertEquals__T__O__O__V(null, 3, z_foo); | |
| var z_bar = z.bar; | |
| - var this$31 = $m_Lorg_junit_Assert$(); | |
| - this$31.assertEquals__T__O__O__V(null, "foobar", z_bar); | |
| + var this$42 = $m_Lorg_junit_Assert$(); | |
| + this$42.assertEquals__T__O__O__V(null, "foobar", z_bar); | |
| var z_unknown = z.unknown; | |
| $m_Lorg_scalajs_testsuite_utils_JSAssert$().assertJSUndefined__O__V(z_unknown); | |
| var expecteds$2 = $m_s_Array$().apply__I__sc_Seq__AI(1, new $c_sjs_js_WrappedArray().init___sjs_js_Array([2, 3, 4])); | |
| var actuals$2 = $makeNativeArrayWrapper($d_I.getArrayOf(), elems$2$2); | |
| - var this$33 = new $c_Lorg_junit_internal_ExactComparisonCriteria(); | |
| - this$33.arrayEquals__p1__T__O__O__Z__V(null, expecteds$2, actuals$2, true) | |
| + var this$44 = new $c_Lorg_junit_internal_ExactComparisonCriteria(); | |
| + this$44.arrayEquals__p1__T__O__O__Z__V(null, expecteds$2, actuals$2, true) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_DynamicTest.prototype.should$undallow$undinstantiating$undJS$undclasses$unddynamically$undwith$undvarargs$undissue$und708__V = (function() { | |
| var DynamicTestClassVarArgs = (0, eval)("\n var DynamicTestClassVarArgs = function() {\n this.count = arguments.length;\n for (var i = 0; i < arguments.length; i++)\n this['elem'+i] = arguments[i];\n };\n DynamicTestClassVarArgs;\n "); | |
| @@ -114733,12 +114725,12 @@ | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest.prototype.exports$undfor$undmethods$undwith$undrefined$undtypes$undas$undreturn$undtype__V = (function() { | |
| var a = new $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$A$4(this); | |
| - var this$3 = $m_Lorg_junit_Assert$(); | |
| + var this$4 = $m_Lorg_junit_Assert$(); | |
| var expected = { | |
| "arg": "hello" | |
| }.toMap; | |
| var actual = a.foo("hello").toMap; | |
| - this$3.assertEquals__T__O__O__V(null, expected, actual) | |
| + this$4.assertEquals__T__O__O__V(null, expected, actual) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest.prototype.exporting$undcase$undclass$undfields$undissue$und970__V = (function() { | |
| var Bar$module = new $c_sr_LazyRef(); | |
| @@ -118593,17 +118585,17 @@ | |
| var obj = { | |
| "jsVal": "hi" | |
| }; | |
| - var this$2 = $m_Lorg_junit_Assert$(); | |
| + var this$3 = $m_Lorg_junit_Assert$(); | |
| var actual = $as_T(obj.jsVal); | |
| - this$2.assertEquals__T__O__O__V(null, "hi", actual) | |
| + this$3.assertEquals__T__O__O__V(null, "hi", actual) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_JSNameTest.prototype.should$undwork$undwith$undvals__V = (function() { | |
| var obj = { | |
| "jsVal": "hi" | |
| }; | |
| - var this$2 = $m_Lorg_junit_Assert$(); | |
| + var this$3 = $m_Lorg_junit_Assert$(); | |
| var actual = $as_T(obj.jsVal); | |
| - this$2.assertEquals__T__O__O__V(null, "hi", actual) | |
| + this$3.assertEquals__T__O__O__V(null, "hi", actual) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_JSNameTest.prototype.notify__ = (function() { | |
| return (void 0) | |
| @@ -118612,51 +118604,51 @@ | |
| var obj = { | |
| "jsVar": 0.1 | |
| }; | |
| - var this$2 = $m_Lorg_junit_Assert$(); | |
| + var this$3 = $m_Lorg_junit_Assert$(); | |
| var actual = $uD(obj.jsVar); | |
| - this$2.assertEquals__T__D__D__D__V(null, 0.1, actual, 0.0); | |
| + this$3.assertEquals__T__D__D__D__V(null, 0.1, actual, 0.0); | |
| obj.jsVar = 0.2; | |
| - var this$3 = $m_Lorg_junit_Assert$(); | |
| + var this$4 = $m_Lorg_junit_Assert$(); | |
| var actual$1 = $uD(obj.jsVar); | |
| - this$3.assertEquals__T__D__D__D__V(null, 0.2, actual$1, 0.0) | |
| + this$4.assertEquals__T__D__D__D__V(null, 0.2, actual$1, 0.0) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_JSNameTest.prototype.should$undwork$undwith$unddefs$undthat$undare$undproperties$undin$undScala$undjs$unddefined$undtrait$undissue$und2197__V = (function() { | |
| var obj = { | |
| "jsDef": 1 | |
| }; | |
| - var this$3 = $m_Lorg_junit_Assert$(); | |
| + var this$4 = $m_Lorg_junit_Assert$(); | |
| var value = $uI(obj.jsDef); | |
| var hi = (value >> 31); | |
| - this$3.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| + this$4.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_JSNameTest.prototype.should$undwork$undwith$undvars__V = (function() { | |
| var obj = { | |
| "jsVar": 0.1 | |
| }; | |
| - var this$2 = $m_Lorg_junit_Assert$(); | |
| + var this$3 = $m_Lorg_junit_Assert$(); | |
| var actual = $uD(obj.jsVar); | |
| - this$2.assertEquals__T__D__D__D__V(null, 0.1, actual, 0.0); | |
| + this$3.assertEquals__T__D__D__D__V(null, 0.1, actual, 0.0); | |
| obj.jsVar = 0.2; | |
| - var this$3 = $m_Lorg_junit_Assert$(); | |
| + var this$4 = $m_Lorg_junit_Assert$(); | |
| var actual$1 = $uD(obj.jsVar); | |
| - this$3.assertEquals__T__D__D__D__V(null, 0.2, actual$1, 0.0) | |
| + this$4.assertEquals__T__D__D__D__V(null, 0.2, actual$1, 0.0) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_JSNameTest.prototype.should$undallow$undnames$undending$undin$und$und$eq__V = (function() { | |
| var d = { | |
| "a_=": 1 | |
| }; | |
| - var this$3 = $m_Lorg_junit_Assert$(); | |
| + var this$6 = $m_Lorg_junit_Assert$(); | |
| var value = $uI(d["a_="]); | |
| var hi = (value >> 31); | |
| - this$3.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value, hi)); | |
| + this$6.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value, hi)); | |
| d["a_="] = 2; | |
| - var this$4 = $m_Lorg_junit_Assert$(); | |
| + var this$7 = $m_Lorg_junit_Assert$(); | |
| var actual = d["a_="]; | |
| - this$4.assertEquals__T__O__O__V(null, 2, actual); | |
| - var this$6 = $m_Lorg_junit_Assert$(); | |
| + this$7.assertEquals__T__O__O__V(null, 2, actual); | |
| + var this$9 = $m_Lorg_junit_Assert$(); | |
| var value$1 = $uI(d["a_="]); | |
| var hi$1 = (value$1 >> 31); | |
| - this$6.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value$1, hi$1)) | |
| + this$9.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value$1, hi$1)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_JSNameTest.prototype.clone__ = (function() { | |
| if ($is_jl_Cloneable(this)) { | |
| @@ -118672,10 +118664,10 @@ | |
| var obj = { | |
| "jsDef": 1 | |
| }; | |
| - var this$3 = $m_Lorg_junit_Assert$(); | |
| + var this$4 = $m_Lorg_junit_Assert$(); | |
| var value = $uI(obj.jsDef); | |
| var hi = (value >> 31); | |
| - this$3.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| + this$4.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| }); | |
| function $is_Lorg_scalajs_testsuite_jsinterop_JSNameTest(obj) { | |
| return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lorg_scalajs_testsuite_jsinterop_JSNameTest))) | |
| @@ -120197,23 +120189,24 @@ | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_JSSymbolTest$.prototype.singletonIterator__O__sjs_js_Dynamic = (function(singleton) { | |
| var first = new $c_sr_BooleanRef(true); | |
| - return { | |
| - "next": (function($this, singleton$1, first$1) { | |
| - return (function() { | |
| - if (first$1.elem$1) { | |
| - first$1.elem$1 = false; | |
| - return { | |
| - "value": singleton$1, | |
| - "done": false | |
| - } | |
| - } else { | |
| - return { | |
| - "value": (void 0), | |
| - "done": true | |
| - } | |
| + var _2 = (function($this, singleton$1, first$1) { | |
| + return (function() { | |
| + if (first$1.elem$1) { | |
| + first$1.elem$1 = false; | |
| + return { | |
| + "value": singleton$1, | |
| + "done": false | |
| } | |
| - }) | |
| - })(this, singleton, first) | |
| + } else { | |
| + return { | |
| + "value": (void 0), | |
| + "done": true | |
| + } | |
| + } | |
| + }) | |
| + })(this, singleton, first); | |
| + return { | |
| + "next": _2 | |
| } | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_JSSymbolTest$.prototype.org$scalajs$testsuite$jsinterop$JSSymbolTest$$selectSymbol__sjs_js_Any__sjs_js_Symbol__O = (function(obj, sym) { | |
| @@ -120383,18 +120376,19 @@ | |
| this$12.assertEquals__T__O__O__V(null, "7357", actual) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_MiscInteropTest.prototype.should$undallow$undto$unddefine$unddirect$undsubclasses$undof$undjs$undAny__V = (function() { | |
| + var _2 = (function($this) { | |
| + return (function(x$2) { | |
| + var x = $uI(x$2); | |
| + return ((2 + x) | 0) | |
| + }) | |
| + })(this); | |
| var f = { | |
| - "bar": (function($this) { | |
| - return (function(x$2) { | |
| - var x = $uI(x$2); | |
| - return ((2 + x) | 0) | |
| - }) | |
| - })(this) | |
| + "bar": _2 | |
| }; | |
| - var this$2 = $m_Lorg_junit_Assert$(); | |
| + var this$3 = $m_Lorg_junit_Assert$(); | |
| var value = $uI(f.bar(5)); | |
| var hi = (value >> 31); | |
| - this$2.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(7, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| + this$3.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(7, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_MiscInteropTest.prototype.notify__ = (function() { | |
| return (void 0) | |
| @@ -120441,18 +120435,19 @@ | |
| this$10.assertTrue__T__Z__V(null, condition$1) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_MiscInteropTest.prototype.should$undallow$undto$unddefine$unddirect$undsubtraits$undof$undjs$undAny__V = (function() { | |
| + var _2 = (function($this) { | |
| + return (function(x$2) { | |
| + var x = $uI(x$2); | |
| + return ((1 + x) | 0) | |
| + }) | |
| + })(this); | |
| var f = { | |
| - "foo": (function($this) { | |
| - return (function(x$2) { | |
| - var x = $uI(x$2); | |
| - return ((1 + x) | 0) | |
| - }) | |
| - })(this) | |
| + "foo": _2 | |
| }; | |
| - var this$2 = $m_Lorg_junit_Assert$(); | |
| + var this$3 = $m_Lorg_junit_Assert$(); | |
| var value = $uI(f.foo(5)); | |
| var hi = (value >> 31); | |
| - this$2.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(6, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| + this$3.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(6, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_MiscInteropTest.prototype.js$undconstructorTag$undT$undfor$undnative$undclasses__V = (function() { | |
| var jsx$1 = RegExp; | |
| @@ -120470,21 +120465,21 @@ | |
| "foo": 5, | |
| "bar": "foobar" | |
| }; | |
| - var this$4 = $m_Lorg_junit_Assert$(); | |
| + var this$5 = $m_Lorg_junit_Assert$(); | |
| var jsx$1 = $m_sjs_js_Any$ObjectCompanionOps$(); | |
| var __self = Object; | |
| var condition = jsx$1.hasProperty$extension__sjs_js_Object$__sjs_js_Object__T__Z(__self, o, "foo"); | |
| - this$4.assertTrue__T__Z__V(null, condition); | |
| - var this$6 = $m_Lorg_junit_Assert$(); | |
| + this$5.assertTrue__T__Z__V(null, condition); | |
| + var this$7 = $m_Lorg_junit_Assert$(); | |
| var jsx$2 = $m_sjs_js_Any$ObjectCompanionOps$(); | |
| var __self$1 = Object; | |
| var condition$1 = jsx$2.hasProperty$extension__sjs_js_Object$__sjs_js_Object__T__Z(__self$1, o, "foobar"); | |
| - this$6.assertTrue__T__Z__V(null, (!condition$1)); | |
| - var this$8 = $m_Lorg_junit_Assert$(); | |
| + this$7.assertTrue__T__Z__V(null, (!condition$1)); | |
| + var this$9 = $m_Lorg_junit_Assert$(); | |
| var jsx$3 = $m_sjs_js_Any$ObjectCompanionOps$(); | |
| var __self$2 = Object; | |
| var condition$2 = jsx$3.hasProperty$extension__sjs_js_Object$__sjs_js_Object__T__Z(__self$2, o, "toString"); | |
| - this$8.assertTrue__T__Z__V(null, condition$2) | |
| + this$9.assertTrue__T__Z__V(null, condition$2) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_MiscInteropTest.prototype.nameOf$1__p1__O__sjs_js_Any = (function(obj) { | |
| return obj.constructor.name | |
| @@ -120522,7 +120517,7 @@ | |
| $c_Lorg_scalajs_testsuite_jsinterop_MiscInteropTest.prototype.should$undrespect$undevaluation$undorder$undfor$undhasProperty__V = (function() { | |
| var elem$1 = 0; | |
| elem$1 = 3; | |
| - var this$4 = $m_Lorg_junit_Assert$(); | |
| + var this$5 = $m_Lorg_junit_Assert$(); | |
| var jsx$1 = $m_sjs_js_Any$ObjectCompanionOps$(); | |
| var __self = Object; | |
| elem$1 = ((4 + elem$1) | 0); | |
| @@ -120530,11 +120525,11 @@ | |
| var condition = jsx$1.hasProperty$extension__sjs_js_Object$__sjs_js_Object__T__Z(__self, { | |
| "x": 5 | |
| }, "x"); | |
| - this$4.assertTrue__T__Z__V(null, condition); | |
| - var this$6 = $m_Lorg_junit_Assert$(); | |
| + this$5.assertTrue__T__Z__V(null, condition); | |
| + var this$7 = $m_Lorg_junit_Assert$(); | |
| var value = elem$1; | |
| var hi = (value >> 31); | |
| - this$6.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(14, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| + this$7.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(14, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_MiscInteropTest.prototype.test$2__p1__sjs_js_Dynamic__sjs_js_Dynamic__V = (function(expected, evidence$2) { | |
| var this$2 = $m_Lorg_junit_Assert$(); | |
| @@ -120685,19 +120680,22 @@ | |
| var this$1 = $m_Lorg_junit_Assert$(); | |
| var condition = $uZ((qs instanceof Object)); | |
| this$1.assertTrue__T__Z__V(null, condition); | |
| - var dict = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("foo", "bar"), new $c_T2().init___O__O("baz", "qux")])); | |
| - var this$6 = $m_Lorg_junit_Assert$(); | |
| - var actual = $as_T(qs.stringify(dict)); | |
| - this$6.assertEquals__T__O__O__V(null, "foo=bar&baz=qux", actual); | |
| + var dict = { | |
| + "foo": "bar", | |
| + "baz": "qux" | |
| + }; | |
| var this$7 = $m_Lorg_junit_Assert$(); | |
| - var actual$1 = $as_T(qs.stringify(dict, ";", ":")); | |
| - this$7.assertEquals__T__O__O__V(null, "foo:bar;baz:qux", actual$1); | |
| + var actual = $as_T(qs.stringify(dict)); | |
| + this$7.assertEquals__T__O__O__V(null, "foo=bar&baz=qux", actual); | |
| var this$8 = $m_Lorg_junit_Assert$(); | |
| - var actual$2 = $as_T(ModulesWithGlobalFallbackTest_QueryString.stringify(dict)); | |
| - this$8.assertEquals__T__O__O__V(null, "foo=bar&baz=qux", actual$2); | |
| + var actual$1 = $as_T(qs.stringify(dict, ";", ":")); | |
| + this$8.assertEquals__T__O__O__V(null, "foo:bar;baz:qux", actual$1); | |
| var this$9 = $m_Lorg_junit_Assert$(); | |
| + var actual$2 = $as_T(ModulesWithGlobalFallbackTest_QueryString.stringify(dict)); | |
| + this$9.assertEquals__T__O__O__V(null, "foo=bar&baz=qux", actual$2); | |
| + var this$10 = $m_Lorg_junit_Assert$(); | |
| var actual$3 = $as_T(ModulesWithGlobalFallbackTest_QueryString.stringify(dict, ";", ":")); | |
| - this$9.assertEquals__T__O__O__V(null, "foo:bar;baz:qux", actual$3) | |
| + this$10.assertEquals__T__O__O__V(null, "foo:bar;baz:qux", actual$3) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ModulesWithGlobalFallbackTest.prototype.notify__ = (function() { | |
| return (void 0) | |
| @@ -120723,19 +120721,22 @@ | |
| var this$1 = $m_Lorg_junit_Assert$(); | |
| var condition = $uZ((qs instanceof Object)); | |
| this$1.assertTrue__T__Z__V(null, condition); | |
| - var dict = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("foo", "bar"), new $c_T2().init___O__O("baz", "qux")])); | |
| - var this$6 = $m_Lorg_junit_Assert$(); | |
| - var actual = $as_T(qs.stringify(dict)); | |
| - this$6.assertEquals__T__O__O__V(null, "foo=bar&baz=qux", actual); | |
| + var dict = { | |
| + "foo": "bar", | |
| + "baz": "qux" | |
| + }; | |
| var this$7 = $m_Lorg_junit_Assert$(); | |
| - var actual$1 = $as_T(qs.stringify(dict, ";", ":")); | |
| - this$7.assertEquals__T__O__O__V(null, "foo:bar;baz:qux", actual$1); | |
| + var actual = $as_T(qs.stringify(dict)); | |
| + this$7.assertEquals__T__O__O__V(null, "foo=bar&baz=qux", actual); | |
| var this$8 = $m_Lorg_junit_Assert$(); | |
| - var actual$2 = $as_T(ModulesWithGlobalFallbackTest_QueryString.stringify(dict)); | |
| - this$8.assertEquals__T__O__O__V(null, "foo=bar&baz=qux", actual$2); | |
| + var actual$1 = $as_T(qs.stringify(dict, ";", ":")); | |
| + this$8.assertEquals__T__O__O__V(null, "foo:bar;baz:qux", actual$1); | |
| var this$9 = $m_Lorg_junit_Assert$(); | |
| + var actual$2 = $as_T(ModulesWithGlobalFallbackTest_QueryString.stringify(dict)); | |
| + this$9.assertEquals__T__O__O__V(null, "foo=bar&baz=qux", actual$2); | |
| + var this$10 = $m_Lorg_junit_Assert$(); | |
| var actual$3 = $as_T(ModulesWithGlobalFallbackTest_QueryString.stringify(dict, ";", ":")); | |
| - this$9.assertEquals__T__O__O__V(null, "foo:bar;baz:qux", actual$3) | |
| + this$10.assertEquals__T__O__O__V(null, "foo:bar;baz:qux", actual$3) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ModulesWithGlobalFallbackTest.prototype.notifyAll__ = (function() { | |
| return (void 0) | |
| @@ -131221,19 +131222,19 @@ | |
| "foo": 42, | |
| "bar": "foobar" | |
| }; | |
| - var this$3 = $m_Lorg_junit_Assert$(); | |
| - var actual = obj.foo; | |
| - this$3.assertEquals__T__O__O__V(null, 42, actual); | |
| var this$4 = $m_Lorg_junit_Assert$(); | |
| + var actual = obj.foo; | |
| + this$4.assertEquals__T__O__O__V(null, 42, actual); | |
| + var this$5 = $m_Lorg_junit_Assert$(); | |
| var actual$1 = obj.bar; | |
| - this$4.assertEquals__T__O__O__V(null, "foobar", actual$1); | |
| + this$5.assertEquals__T__O__O__V(null, "foobar", actual$1); | |
| delete obj.foo; | |
| - var this$5 = $m_Lorg_junit_Assert$(); | |
| - var condition = $uZ(obj.hasOwnProperty("foo")); | |
| - this$5.assertTrue__T__Z__V(null, (!condition)); | |
| var this$6 = $m_Lorg_junit_Assert$(); | |
| + var condition = $uZ(obj.hasOwnProperty("foo")); | |
| + this$6.assertTrue__T__Z__V(null, (!condition)); | |
| + var this$7 = $m_Lorg_junit_Assert$(); | |
| var actual$2 = obj.bar; | |
| - this$6.assertEquals__T__O__O__V(null, "foobar", actual$2) | |
| + this$7.assertEquals__T__O__O__V(null, "foobar", actual$2) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_SpecialTest.prototype.should$unddesugar$undarguments$undto$unddelete$undstatements$undissue$und908__V = (function() { | |
| var kh = { | |
| @@ -131257,17 +131258,17 @@ | |
| "value": 4, | |
| "writable": false | |
| }); | |
| - var this$3 = $m_Lorg_junit_Assert$(); | |
| + var this$5 = $m_Lorg_junit_Assert$(); | |
| var actual = obj.nonconfig; | |
| - this$3.assertEquals__T__O__O__V(null, 4, actual); | |
| + this$5.assertEquals__T__O__O__V(null, 4, actual); | |
| $m_Lorg_scalajs_testsuite_utils_AssertThrows$().assertThrows__jl_Class__F0__V($d_jl_Exception.getClassOf(), new $c_sjsr_AnonFunction0((function($this, obj$1) { | |
| return (function() { | |
| delete obj$1.nonconfig | |
| }) | |
| })(this, obj))); | |
| - var this$4 = $m_Lorg_junit_Assert$(); | |
| + var this$6 = $m_Lorg_junit_Assert$(); | |
| var actual$1 = obj.nonconfig; | |
| - this$4.assertEquals__T__O__O__V(null, 4, actual$1) | |
| + this$6.assertEquals__T__O__O__V(null, 4, actual$1) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_SpecialTest.prototype.A$1__p1__sr_LazyRef__Lorg_scalajs_testsuite_jsinterop_SpecialTest$A$3$ = (function(A$module$1) { | |
| return (A$module$1.$$undinitialized$1 ? $as_Lorg_scalajs_testsuite_jsinterop_SpecialTest$A$3$(A$module$1.$$undvalue$1) : this.A$lzycompute$1__p1__sr_LazyRef__Lorg_scalajs_testsuite_jsinterop_SpecialTest$A$3$(A$module$1)) | |
| @@ -131277,15 +131278,15 @@ | |
| "foo": 5, | |
| "bar": "foobar" | |
| }; | |
| - var this$3 = $m_Lorg_junit_Assert$(); | |
| - var condition = $uZ(("foo" in o)); | |
| - this$3.assertTrue__T__Z__V(null, condition); | |
| var this$4 = $m_Lorg_junit_Assert$(); | |
| - var condition$1 = $uZ(("foobar" in o)); | |
| - this$4.assertTrue__T__Z__V(null, (!condition$1)); | |
| + var condition = $uZ(("foo" in o)); | |
| + this$4.assertTrue__T__Z__V(null, condition); | |
| var this$5 = $m_Lorg_junit_Assert$(); | |
| + var condition$1 = $uZ(("foobar" in o)); | |
| + this$5.assertTrue__T__Z__V(null, (!condition$1)); | |
| + var this$6 = $m_Lorg_junit_Assert$(); | |
| var condition$2 = $uZ(("toString" in o)); | |
| - this$5.assertTrue__T__Z__V(null, condition$2) | |
| + this$6.assertTrue__T__Z__V(null, condition$2) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_SpecialTest.prototype.notify__ = (function() { | |
| return (void 0) | |
| @@ -141874,16 +141875,16 @@ | |
| } | |
| $h_Lorg_scalajs_testsuite_library_WrappedDictionaryTest.prototype = $c_Lorg_scalajs_testsuite_library_WrappedDictionaryTest.prototype; | |
| $c_Lorg_scalajs_testsuite_library_WrappedDictionaryTest.prototype.map__V = (function() { | |
| - var dict = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary($m_sci_Nil$()); | |
| - var this$8 = new $c_sjs_js_WrappedDictionary(dict); | |
| + var dict = {}; | |
| + var this$9 = new $c_sjs_js_WrappedDictionary(dict); | |
| var xs = $as_sc_TraversableOnce($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("one", 1), new $c_T2().init___O__O("two", 2), new $c_T2().init___O__O("three", 3)]))); | |
| - $f_scg_Growable__$$plus$plus$eq__sc_TraversableOnce__scg_Growable(this$8, xs); | |
| - var this$10 = $m_scm_Map$(); | |
| - var bf = new $c_scg_GenMapFactory$MapCanBuildFrom(this$10); | |
| + $f_scg_Growable__$$plus$plus$eq__sc_TraversableOnce__scg_Growable(this$9, xs); | |
| + var this$11 = $m_scm_Map$(); | |
| + var bf = new $c_scg_GenMapFactory$MapCanBuildFrom(this$11); | |
| var b = bf.$$outer$1.newBuilder__scm_Builder(); | |
| - var this$11 = new $c_sjs_js_WrappedDictionary$DictionaryIterator(dict); | |
| - while (this$11.hasNext__Z()) { | |
| - var arg1 = this$11.next__T2(); | |
| + var this$12 = new $c_sjs_js_WrappedDictionary$DictionaryIterator(dict); | |
| + while (this$12.hasNext__Z()) { | |
| + var arg1 = this$12.next__T2(); | |
| if ((arg1 === null)) { | |
| throw new $c_s_MatchError(arg1) | |
| }; | |
| @@ -141896,17 +141897,17 @@ | |
| var mapChr = $as_scm_Map(b.result__O()); | |
| new $c_sjs_js_WrappedDictionary$$anon$1(); | |
| var b$1 = new $c_sjs_js_WrappedDictionary$WrappedDictionaryBuilder(); | |
| - var this$19 = new $c_sjs_js_WrappedDictionary$DictionaryIterator(dict); | |
| - while (this$19.hasNext__Z()) { | |
| - var arg1$1 = this$19.next__T2(); | |
| + var this$20 = new $c_sjs_js_WrappedDictionary$DictionaryIterator(dict); | |
| + while (this$20.hasNext__Z()) { | |
| + var arg1$1 = this$20.next__T2(); | |
| if ((arg1$1 === null)) { | |
| throw new $c_s_MatchError(arg1$1) | |
| }; | |
| var k$1 = $as_T(arg1$1.$$und1__O()); | |
| var v$1 = arg1$1.$$und2$mcI$sp__I(); | |
| - var this$23 = (65535 & $uI(k$1.charCodeAt(0))); | |
| + var this$24 = (65535 & $uI(k$1.charCodeAt(0))); | |
| var jsx$2 = String; | |
| - var value = this$23; | |
| + var value = this$24; | |
| var jsx$1 = jsx$2.fromCharCode(value); | |
| var self$1 = $as_T(jsx$1); | |
| var y$1 = (v$1 << 1); | |
| @@ -141914,30 +141915,30 @@ | |
| dict$1[self$1] = y$1 | |
| }; | |
| var mapStr = b$1.result__sjs_js_WrappedDictionary(); | |
| - var this$31 = $m_Lorg_junit_Assert$(); | |
| - this$31.assertTrue__T__Z__V(null, true); | |
| - var this$34 = $m_Lorg_junit_Assert$(); | |
| - this$34.assertTrue__T__Z__V(null, true); | |
| - var this$36 = $m_Lorg_junit_Assert$(); | |
| + var this$32 = $m_Lorg_junit_Assert$(); | |
| + this$32.assertTrue__T__Z__V(null, true); | |
| + var this$35 = $m_Lorg_junit_Assert$(); | |
| + this$35.assertTrue__T__Z__V(null, true); | |
| + var this$37 = $m_Lorg_junit_Assert$(); | |
| var value$1 = mapChr.size__I(); | |
| var hi = (value$1 >> 31); | |
| - this$36.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value$1, hi)); | |
| - var this$38 = $m_Lorg_junit_Assert$(); | |
| + this$37.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value$1, hi)); | |
| + var this$39 = $m_Lorg_junit_Assert$(); | |
| var value$2 = $f_sc_TraversableOnce__size__I(mapStr); | |
| var hi$1 = (value$2 >> 31); | |
| - this$38.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value$2, hi$1)) | |
| + this$39.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value$2, hi$1)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_WrappedDictionaryTest.prototype.$$plus$eq$undand$und$minus$eq__V = (function() { | |
| - var dict = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary($m_sci_Nil$()); | |
| + var dict = {}; | |
| var xs = $m_sci_Nil$(); | |
| $m_s_reflect_ManifestFactory$ObjectManifest$(); | |
| var len = $f_sc_LinearSeqOptimized__length__I(xs); | |
| var array = $newArrayObject($d_O.getArrayOf(), [len]); | |
| var elem$1 = 0; | |
| elem$1 = 0; | |
| - var this$6 = new $c_sc_LinearSeqLike$$anon$1(xs); | |
| - while (this$6.hasNext__Z()) { | |
| - var arg1 = this$6.next__O(); | |
| + var this$7 = new $c_sc_LinearSeqLike$$anon$1(xs); | |
| + while (this$7.hasNext__Z()) { | |
| + var arg1 = this$7.next__O(); | |
| array.set(elem$1, arg1); | |
| elem$1 = ((1 + elem$1) | 0) | |
| }; | |
| @@ -141960,38 +141961,38 @@ | |
| i = ((1 + i) | 0); | |
| j = ((1 + j) | 0) | |
| }; | |
| - var this$21 = new $c_Lorg_junit_internal_ExactComparisonCriteria(); | |
| - this$21.arrayEquals__p1__T__O__O__Z__V(null, array, result, true); | |
| + var this$22 = new $c_Lorg_junit_internal_ExactComparisonCriteria(); | |
| + this$22.arrayEquals__p1__T__O__O__Z__V(null, array, result, true); | |
| dict.hello = "world"; | |
| - var this$27 = $m_Lorg_junit_Assert$(); | |
| + var this$28 = $m_Lorg_junit_Assert$(); | |
| if ((!$uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, "hello")))) { | |
| throw new $c_ju_NoSuchElementException().init___T("key not found: hello") | |
| }; | |
| var actual = dict.hello; | |
| - this$27.assertEquals__T__O__O__V(null, "world", actual); | |
| + this$28.assertEquals__T__O__O__V(null, "world", actual); | |
| dict.foo = "bar"; | |
| - var this$33 = $m_Lorg_junit_Assert$(); | |
| + var this$34 = $m_Lorg_junit_Assert$(); | |
| if ((!$uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, "foo")))) { | |
| throw new $c_ju_NoSuchElementException().init___T("key not found: foo") | |
| }; | |
| var actual$1 = dict.foo; | |
| - this$33.assertEquals__T__O__O__V(null, "bar", actual$1); | |
| + this$34.assertEquals__T__O__O__V(null, "bar", actual$1); | |
| if ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, "hello"))) { | |
| delete dict.hello | |
| }; | |
| - var this$38 = $m_Lorg_junit_Assert$(); | |
| - var this$37 = ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, "hello")) ? new $c_s_Some(dict.hello) : $m_s_None$()); | |
| - var condition = (!this$37.isEmpty__Z()); | |
| - this$38.assertTrue__T__Z__V(null, (!condition)); | |
| + var this$39 = $m_Lorg_junit_Assert$(); | |
| + var this$38 = ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, "hello")) ? new $c_s_Some(dict.hello) : $m_s_None$()); | |
| + var condition = (!this$38.isEmpty__Z()); | |
| + this$39.assertTrue__T__Z__V(null, (!condition)); | |
| var xs$1 = new $c_sjs_js_WrappedArray().init___sjs_js_Array(["foo"]); | |
| $m_s_reflect_ManifestFactory$ObjectManifest$(); | |
| var len$3 = $uI(xs$1.array$6.length); | |
| var array$2 = $newArrayObject($d_O.getArrayOf(), [len$3]); | |
| var elem$1$1 = 0; | |
| elem$1$1 = 0; | |
| - var this$43 = new $c_sc_IndexedSeqLike$Elements(xs$1, 0, $uI(xs$1.array$6.length)); | |
| - while (this$43.hasNext__Z()) { | |
| - var arg1$1 = this$43.next__O(); | |
| + var this$44 = new $c_sc_IndexedSeqLike$Elements(xs$1, 0, $uI(xs$1.array$6.length)); | |
| + while (this$44.hasNext__Z()) { | |
| + var arg1$1 = this$44.next__O(); | |
| array$2.set(elem$1$1, arg1$1); | |
| elem$1$1 = ((1 + elem$1$1) | 0) | |
| }; | |
| @@ -142014,19 +142015,23 @@ | |
| i$1 = ((1 + i$1) | 0); | |
| j$1 = ((1 + j$1) | 0) | |
| }; | |
| - var this$58 = new $c_Lorg_junit_internal_ExactComparisonCriteria(); | |
| - this$58.arrayEquals__p1__T__O__O__Z__V(null, array$2, result$1, true) | |
| + var this$59 = new $c_Lorg_junit_internal_ExactComparisonCriteria(); | |
| + this$59.arrayEquals__p1__T__O__O__Z__V(null, array$2, result$1, true) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_WrappedDictionaryTest.prototype.toList__V = (function() { | |
| - var dict = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("a", "a"), new $c_T2().init___O__O("b", 6), new $c_T2().init___O__O("e", (void 0))])); | |
| - var this$8 = new $c_sjs_js_WrappedDictionary(dict); | |
| - var this$9 = $m_sci_List$(); | |
| - var cbf = this$9.ReusableCBFInstance$2; | |
| - var list = $as_sci_List($f_sc_TraversableLike__to__scg_CanBuildFrom__O(this$8, cbf)); | |
| - var this$11 = $m_Lorg_junit_Assert$(); | |
| + var dict = { | |
| + "a": "a", | |
| + "b": 6, | |
| + "e": (void 0) | |
| + }; | |
| + var this$9 = new $c_sjs_js_WrappedDictionary(dict); | |
| + var this$10 = $m_sci_List$(); | |
| + var cbf = this$10.ReusableCBFInstance$2; | |
| + var list = $as_sci_List($f_sc_TraversableLike__to__scg_CanBuildFrom__O(this$9, cbf)); | |
| + var this$12 = $m_Lorg_junit_Assert$(); | |
| var value = $f_sc_LinearSeqOptimized__length__I(list); | |
| var hi = (value >> 31); | |
| - this$11.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(3, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| + this$12.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(3, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_WrappedDictionaryTest.prototype.notify__ = (function() { | |
| return (void 0) | |
| @@ -142052,23 +142057,23 @@ | |
| count = ((1 + count) | 0) | |
| }; | |
| var elems = $as_sci_IndexedSeq($as_sc_IterableLike(b.result__O()).zip__sc_GenIterable__scg_CanBuildFrom__O(new $c_sci_Range$Inclusive(1, 5, 1), ($m_sci_IndexedSeq$(), $m_sc_IndexedSeq$().ReusableCBF$6))); | |
| - var dict = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary($m_sci_Nil$()); | |
| - var this$14 = new $c_sjs_js_WrappedDictionary(dict); | |
| - $f_scg_Growable__$$plus$plus$eq__sc_TraversableOnce__scg_Growable(this$14, elems); | |
| - var this$19 = $m_Lorg_junit_Assert$(); | |
| - var this$15 = new $c_sjs_js_WrappedDictionary$DictionaryIterator(dict); | |
| - var this$16 = $m_sci_List$(); | |
| - var cbf = this$16.ReusableCBFInstance$2; | |
| - var this$18 = $as_sci_List($f_sc_TraversableOnce__to__scg_CanBuildFrom__O(this$15, cbf)); | |
| + var dict = {}; | |
| + var this$15 = new $c_sjs_js_WrappedDictionary(dict); | |
| + $f_scg_Growable__$$plus$plus$eq__sc_TraversableOnce__scg_Growable(this$15, elems); | |
| + var this$20 = $m_Lorg_junit_Assert$(); | |
| + var this$16 = new $c_sjs_js_WrappedDictionary$DictionaryIterator(dict); | |
| + var this$17 = $m_sci_List$(); | |
| + var cbf = this$17.ReusableCBFInstance$2; | |
| + var this$19 = $as_sci_List($f_sc_TraversableOnce__to__scg_CanBuildFrom__O(this$16, cbf)); | |
| var ord1 = $m_s_math_Ordering$String$(); | |
| var ord2 = $m_s_math_Ordering$Int$(); | |
| var ord = new $c_s_math_Ordering$$anon$12(ord1, ord2); | |
| - var condition = $as_sc_LinearSeqOptimized($f_sc_SeqLike__sorted__s_math_Ordering__O(this$18, ord)).sameElements__sc_GenIterable__Z(elems); | |
| - this$19.assertTrue__T__Z__V(null, condition) | |
| + var condition = $as_sc_LinearSeqOptimized($f_sc_SeqLike__sorted__s_math_Ordering__O(this$19, ord)).sameElements__sc_GenIterable__Z(elems); | |
| + this$20.assertTrue__T__Z__V(null, condition) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_WrappedDictionaryTest.prototype.withFilter__V = (function() { | |
| - var dict = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary($m_sci_Nil$()); | |
| - var this$2 = new $c_sjs_js_WrappedDictionary(dict); | |
| + var dict = {}; | |
| + var this$3 = new $c_sjs_js_WrappedDictionary(dict); | |
| var p = new $c_sjsr_AnonFunction1((function($this) { | |
| return (function(x0$3$2) { | |
| var x0$3 = $as_T2(x0$3$2); | |
| @@ -142081,38 +142086,38 @@ | |
| } | |
| }) | |
| })(this)); | |
| - var flt = new $c_sc_TraversableLike$WithFilter(this$2, p); | |
| - var this$4 = $m_Lorg_junit_Assert$(); | |
| + var flt = new $c_sc_TraversableLike$WithFilter(this$3, p); | |
| + var this$5 = $m_Lorg_junit_Assert$(); | |
| var value = this.size$1__p1__scg_FilterMonadic__I(flt); | |
| var hi = (value >> 31); | |
| - this$4.assertEquals__T__O__O__V(null, $L0, new $c_sjsr_RuntimeLong(value, hi)); | |
| + this$5.assertEquals__T__O__O__V(null, $L0, new $c_sjsr_RuntimeLong(value, hi)); | |
| dict.a = 1; | |
| - var this$10 = $m_Lorg_junit_Assert$(); | |
| + var this$11 = $m_Lorg_junit_Assert$(); | |
| var value$1 = this.size$1__p1__scg_FilterMonadic__I(flt); | |
| var hi$1 = (value$1 >> 31); | |
| - this$10.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value$1, hi$1)); | |
| + this$11.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value$1, hi$1)); | |
| dict.b = 2; | |
| - var this$16 = $m_Lorg_junit_Assert$(); | |
| + var this$17 = $m_Lorg_junit_Assert$(); | |
| var value$2 = this.size$1__p1__scg_FilterMonadic__I(flt); | |
| var hi$2 = (value$2 >> 31); | |
| - this$16.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value$2, hi$2)); | |
| + this$17.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(1, 0), new $c_sjsr_RuntimeLong(value$2, hi$2)); | |
| dict.c = 6; | |
| - var this$22 = $m_Lorg_junit_Assert$(); | |
| + var this$23 = $m_Lorg_junit_Assert$(); | |
| var value$3 = this.size$1__p1__scg_FilterMonadic__I(flt); | |
| var hi$3 = (value$3 >> 31); | |
| - this$22.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value$3, hi$3)); | |
| + this$23.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value$3, hi$3)); | |
| dict.b = 7; | |
| - var this$28 = $m_Lorg_junit_Assert$(); | |
| + var this$29 = $m_Lorg_junit_Assert$(); | |
| var value$4 = this.size$1__p1__scg_FilterMonadic__I(flt); | |
| var hi$4 = (value$4 >> 31); | |
| - this$28.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(3, 0), new $c_sjsr_RuntimeLong(value$4, hi$4)); | |
| + this$29.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(3, 0), new $c_sjsr_RuntimeLong(value$4, hi$4)); | |
| if ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, "a"))) { | |
| delete dict.a | |
| }; | |
| - var this$32 = $m_Lorg_junit_Assert$(); | |
| + var this$33 = $m_Lorg_junit_Assert$(); | |
| var value$5 = this.size$1__p1__scg_FilterMonadic__I(flt); | |
| var hi$5 = (value$5 >> 31); | |
| - this$32.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value$5, hi$5)) | |
| + this$33.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(2, 0), new $c_sjsr_RuntimeLong(value$5, hi$5)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_WrappedDictionaryTest.prototype.size$1__p1__scg_FilterMonadic__I = (function(flt$1) { | |
| return $as_sc_TraversableOnce(flt$1.map__F1__scg_CanBuildFrom__O(new $c_sjsr_AnonFunction1((function($this) { | |
| @@ -142123,38 +142128,46 @@ | |
| })(this)), new $c_sjs_js_WrappedDictionary$$anon$1())).size__I() | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_WrappedDictionaryTest.prototype.to$undT__V = (function() { | |
| - var dict = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("a", "a"), new $c_T2().init___O__O("b", 6), new $c_T2().init___O__O("e", (void 0))])); | |
| - var this$9 = new $c_sjs_js_WrappedDictionary(dict); | |
| - var this$8 = $m_sci_List$(); | |
| - var cbf = this$8.ReusableCBFInstance$2; | |
| - var list = $as_sci_List($f_sc_TraversableLike__to__scg_CanBuildFrom__O(this$9, cbf)); | |
| - var this$11 = $m_Lorg_junit_Assert$(); | |
| + var dict = { | |
| + "a": "a", | |
| + "b": 6, | |
| + "e": (void 0) | |
| + }; | |
| + var this$10 = new $c_sjs_js_WrappedDictionary(dict); | |
| + var this$9 = $m_sci_List$(); | |
| + var cbf = this$9.ReusableCBFInstance$2; | |
| + var list = $as_sci_List($f_sc_TraversableLike__to__scg_CanBuildFrom__O(this$10, cbf)); | |
| + var this$12 = $m_Lorg_junit_Assert$(); | |
| var value = $f_sc_LinearSeqOptimized__length__I(list); | |
| var hi = (value >> 31); | |
| - this$11.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(3, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| + this$12.assertEquals__T__O__O__V(null, new $c_sjsr_RuntimeLong(3, 0), new $c_sjsr_RuntimeLong(value, hi)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_WrappedDictionaryTest.prototype.get__V = (function() { | |
| - var dict = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("a", "a"), new $c_T2().init___O__O("b", 6), new $c_T2().init___O__O("e", (void 0))])); | |
| - var this$9 = $m_Lorg_junit_Assert$(); | |
| + var dict = { | |
| + "a": "a", | |
| + "b": 6, | |
| + "e": (void 0) | |
| + }; | |
| + var this$10 = $m_Lorg_junit_Assert$(); | |
| var x = ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, "a")) ? new $c_s_Some(dict.a) : $m_s_None$()); | |
| var x$2 = new $c_s_Some("a"); | |
| var condition = ((x !== null) && x.equals__O__Z(x$2)); | |
| - this$9.assertTrue__T__Z__V(null, condition); | |
| - var this$11 = $m_Lorg_junit_Assert$(); | |
| + this$10.assertTrue__T__Z__V(null, condition); | |
| + var this$12 = $m_Lorg_junit_Assert$(); | |
| var x$3 = ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, "b")) ? new $c_s_Some(dict.b) : $m_s_None$()); | |
| var x$4 = new $c_s_Some(6); | |
| var condition$1 = ((x$3 !== null) && x$3.equals__O__Z(x$4)); | |
| - this$11.assertTrue__T__Z__V(null, condition$1); | |
| - var this$13 = $m_Lorg_junit_Assert$(); | |
| + this$12.assertTrue__T__Z__V(null, condition$1); | |
| + var this$14 = $m_Lorg_junit_Assert$(); | |
| var x$5 = ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, "e")) ? new $c_s_Some(dict.e) : $m_s_None$()); | |
| var x$6 = new $c_s_Some((void 0)); | |
| var condition$2 = ((x$5 !== null) && x$5.equals__O__Z(x$6)); | |
| - this$13.assertTrue__T__Z__V(null, condition$2); | |
| - var this$15 = $m_Lorg_junit_Assert$(); | |
| + this$14.assertTrue__T__Z__V(null, condition$2); | |
| + var this$16 = $m_Lorg_junit_Assert$(); | |
| var x$7 = ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, "f")) ? new $c_s_Some(dict.f) : $m_s_None$()); | |
| var x$8 = $m_s_None$(); | |
| var condition$3 = ((x$7 !== null) && x$7.equals__O__Z(x$8)); | |
| - this$15.assertTrue__T__Z__V(null, condition$3) | |
| + this$16.assertTrue__T__Z__V(null, condition$3) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_WrappedDictionaryTest.prototype.notifyAll__ = (function() { | |
| return (void 0) | |
| @@ -145819,17 +145832,17 @@ | |
| var this$2 = $m_Lorg_junit_Assert$(); | |
| var condition$1 = this.isScalaArray$1__p1__O__Z(new RegExp("abc")); | |
| this$2.assertTrue__T__Z__V(null, (!condition$1)); | |
| - var this$3 = $m_Lorg_junit_Assert$(); | |
| - var condition$2 = this.isScalaArray$1__p1__O__Z({}); | |
| - this$3.assertTrue__T__Z__V(null, (!condition$2)); | |
| var this$4 = $m_Lorg_junit_Assert$(); | |
| + var condition$2 = this.isScalaArray$1__p1__O__Z({}); | |
| + this$4.assertTrue__T__Z__V(null, (!condition$2)); | |
| + var this$5 = $m_Lorg_junit_Assert$(); | |
| var condition$3 = this.isScalaArray$1__p1__O__Z((function(arg$outer) { | |
| return (function(arg1$2) { | |
| var arg1 = $uI(arg1$2); | |
| return arg$outer.org$scalajs$testsuite$scalalib$ScalaRunTimeJSTest$$$anonfun$ScalaRunTime$undisArray$undshould$undnot$undfail$undwith$undJS$undobjects$1__I__I(arg1) | |
| }) | |
| })(this)); | |
| - this$4.assertTrue__T__Z__V(null, (!condition$3)) | |
| + this$5.assertTrue__T__Z__V(null, (!condition$3)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_scalalib_ScalaRunTimeJSTest.prototype.notify__ = (function() { | |
| return (void 0) | |
| @@ -159069,65 +159082,6 @@ | |
| sjs_js_Dictionary: 1, | |
| sjs_js_Any: 1 | |
| }, true, (void 0), $noIsInstance); | |
| -/** @constructor */ | |
| -function $c_sjs_js_Dictionary$() { | |
| - /*<skip>*/ | |
| -} | |
| -$c_sjs_js_Dictionary$.prototype = new $h_O(); | |
| -$c_sjs_js_Dictionary$.prototype.constructor = $c_sjs_js_Dictionary$; | |
| -/** @constructor */ | |
| -function $h_sjs_js_Dictionary$() { | |
| - /*<skip>*/ | |
| -} | |
| -$h_sjs_js_Dictionary$.prototype = $c_sjs_js_Dictionary$.prototype; | |
| -$c_sjs_js_Dictionary$.prototype.apply__sc_Seq__sjs_js_Dictionary = (function(properties) { | |
| - var result = {}; | |
| - properties.withFilter__F1__scg_FilterMonadic(new $c_sjsr_AnonFunction1((function($this) { | |
| - return (function(check$ifrefutable$1$2) { | |
| - var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); | |
| - return (check$ifrefutable$1 !== null) | |
| - }) | |
| - })(this))).foreach__F1__V(new $c_sjsr_AnonFunction1((function(this$2, result$1) { | |
| - return (function(x$1$2) { | |
| - var x$1 = $as_T2(x$1$2); | |
| - if ((x$1 !== null)) { | |
| - var key = $as_T(x$1.$$und1__O()); | |
| - var value = x$1.$$und2__O(); | |
| - result$1[key] = value | |
| - } else { | |
| - throw new $c_s_MatchError(x$1) | |
| - } | |
| - }) | |
| - })(this, result))); | |
| - return result | |
| -}); | |
| -$c_sjs_js_Dictionary$.prototype.notify__ = (function() { | |
| - return (void 0) | |
| -}); | |
| -$c_sjs_js_Dictionary$.prototype.notifyAll__ = (function() { | |
| - return (void 0) | |
| -}); | |
| -$c_sjs_js_Dictionary$.prototype.clone__ = (function() { | |
| - if ($is_jl_Cloneable(this)) { | |
| - return $m_sjsr_package$().cloneObject__sjs_js_Object__sjs_js_Object(this) | |
| - } else { | |
| - throw new $c_jl_CloneNotSupportedException().init___() | |
| - } | |
| -}); | |
| -var $d_sjs_js_Dictionary$ = new $TypeData().initClass({ | |
| - sjs_js_Dictionary$: 0 | |
| -}, false, "scala.scalajs.js.Dictionary$", { | |
| - sjs_js_Dictionary$: 1, | |
| - O: 1 | |
| -}, (void 0), $d_O); | |
| -$c_sjs_js_Dictionary$.prototype.$classData = $d_sjs_js_Dictionary$; | |
| -var $n_sjs_js_Dictionary$ = (void 0); | |
| -function $m_sjs_js_Dictionary$() { | |
| - if ((!$n_sjs_js_Dictionary$)) { | |
| - $n_sjs_js_Dictionary$ = new $c_sjs_js_Dictionary$() | |
| - }; | |
| - return $n_sjs_js_Dictionary$ | |
| -} | |
| var $d_sjs_js_Dynamic = new $TypeData().initClass({ | |
| sjs_js_Dynamic: 0 | |
| }, false, "scala.scalajs.js.Dynamic", { | |
| @@ -159519,6 +159473,54 @@ | |
| return $n_sjs_js_package$ | |
| } | |
| /** @constructor */ | |
| +function $c_sjs_js_special_package$() { | |
| + /*<skip>*/ | |
| +} | |
| +$c_sjs_js_special_package$.prototype = new $h_O(); | |
| +$c_sjs_js_special_package$.prototype.constructor = $c_sjs_js_special_package$; | |
| +/** @constructor */ | |
| +function $h_sjs_js_special_package$() { | |
| + /*<skip>*/ | |
| +} | |
| +$h_sjs_js_special_package$.prototype = $c_sjs_js_special_package$.prototype; | |
| +$c_sjs_js_special_package$.prototype.objectLiteral__sc_Seq__sjs_js_Object = (function(properties) { | |
| + var result = {}; | |
| + properties.foreach__F1__V(new $c_sjsr_AnonFunction1((function($this, result$1) { | |
| + return (function(pair$2) { | |
| + var pair = $as_T2(pair$2); | |
| + result$1[pair.$$und1__O()] = pair.$$und2__O() | |
| + }) | |
| + })(this, result))); | |
| + return result | |
| +}); | |
| +$c_sjs_js_special_package$.prototype.notify__ = (function() { | |
| + return (void 0) | |
| +}); | |
| +$c_sjs_js_special_package$.prototype.notifyAll__ = (function() { | |
| + return (void 0) | |
| +}); | |
| +$c_sjs_js_special_package$.prototype.clone__ = (function() { | |
| + if ($is_jl_Cloneable(this)) { | |
| + return $m_sjsr_package$().cloneObject__sjs_js_Object__sjs_js_Object(this) | |
| + } else { | |
| + throw new $c_jl_CloneNotSupportedException().init___() | |
| + } | |
| +}); | |
| +var $d_sjs_js_special_package$ = new $TypeData().initClass({ | |
| + sjs_js_special_package$: 0 | |
| +}, false, "scala.scalajs.js.special.package$", { | |
| + sjs_js_special_package$: 1, | |
| + O: 1 | |
| +}, (void 0), $d_O); | |
| +$c_sjs_js_special_package$.prototype.$classData = $d_sjs_js_special_package$; | |
| +var $n_sjs_js_special_package$ = (void 0); | |
| +function $m_sjs_js_special_package$() { | |
| + if ((!$n_sjs_js_special_package$)) { | |
| + $n_sjs_js_special_package$ = new $c_sjs_js_special_package$() | |
| + }; | |
| + return $n_sjs_js_special_package$ | |
| +} | |
| +/** @constructor */ | |
| function $c_sjs_js_timers_package$() { | |
| /*<skip>*/ | |
| } | |
| @@ -160854,12 +160856,13 @@ | |
| var this$25 = $m_jl_Integer$(); | |
| var $$this$1 = this$23.repr$1; | |
| var a = this$25.parseInt__T__I__I($$this$1, 10); | |
| + var _2 = ((a === (void 0)) ? (void 0) : a); | |
| var jsx$1 = trace.push({ | |
| "declaringClass": className, | |
| "methodName": methodName, | |
| "fileName": fileName, | |
| "lineNumber": lineNumber, | |
| - "columnNumber": ((a === (void 0)) ? (void 0) : a) | |
| + "columnNumber": _2 | |
| }); | |
| $uI(jsx$1) | |
| } else { | |
| @@ -160885,10 +160888,10 @@ | |
| throw new $c_ju_NoSuchElementException().init___T("undefined.get") | |
| }; | |
| var x$2 = $as_T(value$6); | |
| - var this$56 = new $c_sci_StringOps(x$2); | |
| - var this$58 = $m_jl_Integer$(); | |
| - var $$this$2 = this$56.repr$1; | |
| - var lineNumber$1 = this$58.parseInt__T__I__I($$this$2, 10); | |
| + var this$57 = new $c_sci_StringOps(x$2); | |
| + var this$59 = $m_jl_Integer$(); | |
| + var $$this$2 = this$57.repr$1; | |
| + var lineNumber$1 = this$59.parseInt__T__I__I($$this$2, 10); | |
| var jsx$2 = trace.push({ | |
| "declaringClass": className$3, | |
| "methodName": methodName$3, | |
| @@ -161182,29 +161185,6 @@ | |
| $c_sjsr_package$.prototype.notify__ = (function() { | |
| return (void 0) | |
| }); | |
| -$c_sjsr_package$.prototype.jsTupleArray2jsObject__sjs_js_Array__sjs_js_Object = (function(tuples) { | |
| - var result = {}; | |
| - var this$2 = new $c_sjs_js_ArrayOps().init___sjs_js_Array(tuples); | |
| - var p = new $c_sjsr_AnonFunction1((function($this) { | |
| - return (function(check$ifrefutable$1$2) { | |
| - var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); | |
| - return (check$ifrefutable$1 !== null) | |
| - }) | |
| - })(this)); | |
| - new $c_sc_TraversableLike$WithFilter(this$2, p).foreach__F1__V(new $c_sjsr_AnonFunction1((function(this$2$1, result$1) { | |
| - return (function(x$1$2) { | |
| - var x$1 = $as_T2(x$1$2); | |
| - if ((x$1 !== null)) { | |
| - var name = $as_T(x$1.$$und1__O()); | |
| - var value = x$1.$$und2__O(); | |
| - result$1[name] = value | |
| - } else { | |
| - throw new $c_s_MatchError(x$1) | |
| - } | |
| - }) | |
| - })(this, result))); | |
| - return result | |
| -}); | |
| $c_sjsr_package$.prototype.genTraversableOnce2jsArray__sc_GenTraversableOnce__sjs_js_Array = (function(col) { | |
| if ($is_sjs_js_ArrayOps(col)) { | |
| var x2 = $as_sjs_js_ArrayOps(col); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment