Ticket #290 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Array concat gives exception

Reported by: Chris Rathman Assigned to: anonymous
Type: defect Priority: major
Milestone: Component: RefImpl
Version: 4 Keywords:
Cc:

Description

Lars gave an invitation on LtU, so I'd thought I'd file the following bug. The concat method for Arrays gives me an exception:

print([1,2].concat([3,4]));


[locn] c:\Documents and Settings\dherman\My Documents\ES4Model\builtins\Error.es:86:55-86.55 [stack] [concat(obj) | concat(obj, obj) | emit(obj)] **ERROR** EvalError?: uncaught exception: ReferenceError?: unresolved lexical reference {multiname: [ns private '[ns public ]::Array ']::out [ns public 'JSON']::out [ns public 'ECMAScript4_Internal']::out [ns public 'ES4']::out [ns intrinsic]::out [ns internal ]::out [ns public ]::out [ns public ]::out [ns internal ]::out [ns public 'ES4']::out } (near c:\Documents and Settings\dherman\My Documents\ES4Model\builtins\Error.es:86:55-86.55)

Attachments

Change History

Changed 1 year ago by graydon

  • status changed from new to closed
  • resolution set to fixed

Fixed in revision c71b4b5...

(Very obscure bug!)

Note: See TracTickets for help on using tickets.