You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="cstat-no" title="statement not covered" > } else if ( isStructConstructor( arg ) ) {</span>
1359
1359
<spanclass="cstat-no" title="statement not covered" > Struct = arg;</span>
1360
1360
<spanclass="cstat-no" title="statement not covered" > } else {</span>
1361
-
<spanclass="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. First argument must be either a struct constructor or struct schema. Value: `%s`.', Struct ) );</span>
1361
+
<spanclass="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. First argument must be either a struct constructor or struct schema. Value: `%s`.', arg ) );</span>
1362
1362
<spanclass="cstat-no" title="statement not covered" > }</span>
1363
1363
<spanclass="cstat-no" title="statement not covered" > BYTES_PER_ELEMENT = Struct.byteLength;</span>
1364
1364
<spanclass="cstat-no" title="statement not covered" > LAYOUT = Struct.layout; // TODO: consider whether to lazily materialize the struct layout, as this could potentially be a long string (hence increased memory consumption) depending on the complexity of the struct</span>
0 commit comments