Ticket #269 (new defect)

Opened 1 year ago

Rest Arguments Type Crashes RefImpl

Reported by: jresig Assigned to: anonymous
Type: defect Priority: blocker
Milestone: Component: RefImpl
Version: 4 Keywords:
Cc:

Description

Creating a function type that has an argument referring to rest arguments causes the reference implementation to crash, for example:

>> var x:function(int, ...) = function(x:int, ...val){}
uncaught exception Fail [Fail: cannot handle rest args]
  raised at: main.sml:93.89
             main.sml:109.78
             main.sml:219.46
             main.sml:93.89
             main.sml:109.78
             eval.sml:5048.19
             type.sml:48.43-48.49

Attachments

Note: See TracTickets for help on using tickets.