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
Result:
Type check failed in initializing element #0 to Buf; expected uint8 but got Str ("0")
in any at gen/moar/Metamodel.nqp line 1727
in block <unit> at /tmp/9PmeQTevmg line 1
Actually thrown at:
in any at gen/moar/Metamodel.nqp line 3072
in any at gen/moar/Metamodel.nqp line 1727
in block <unit> at /tmp/9PmeQTevmg line 1
It points three times to a line in Metamodel.nqp, and only once to the actual user file. Perhaps there is a way to improve it? Maybe not just for this case, but for any exception?
On Wed, 04 Jan 2017 14:21:15 -0800, alex.jakimenko@gmail.com wrote:
Code:
say Buf.new('0')
Result:
Type check failed in initializing element #0 to Buf; expected uint8
but got Str ("0")
in any at gen/moar/Metamodel.nqp line 1727
in block <unit> at /tmp/9PmeQTevmg line 1
Actually thrown at:
in any at gen/moar/Metamodel.nqp line 3072
in any at gen/moar/Metamodel.nqp line 1727
in block <unit> at /tmp/9PmeQTevmg line 1
It points three times to a line in Metamodel.nqp, and only once to the
actual user file. Perhaps there is a way to improve it? Maybe not just
for this case, but for any exception?
Migrated from rt.perl.org#130502 (status was 'open')
Searchable as RT130502$
The text was updated successfully, but these errors were encountered: