[Nemerle 0001111]: ICE when an incorrectly typed variable is passed alongside a function

0 views
Skip to first unread message

feed...@nemerle.org

unread,
Dec 22, 2008, 6:34:29 AM12/22/08
to nemerl...@googlegroups.com

The following issue has been ASSIGNED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1111>
======================================================================
Reported By: daeken
Assigned To: VladD2
======================================================================
Project: Nemerle
Issue ID: 1111
Category: Compiler (type engine)
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
======================================================================
Date Submitted: 05-11-2008 16:53 CEST
Last Modified: 12-22-2008 12:34 CET
======================================================================
Summary: ICE when an incorrectly typed variable is passed
alongside a function
Description:
When calling a method, passing a variable of the incorrect type (e.g. int
instead of uint) along with a function causes an ICE. The example below
causes an ICE, but changing the 37 to 37U gets around this. In addition,
if you declare the function elsewhere (e.g. defining it locally or as a
static method), the type engine does the right thing and throws an error
rather than dying.
======================================================================

----------------------------------------------------------------------
daeken - 05-11-08 16:54
----------------------------------------------------------------------
Another thing of note, this ICE only occurs when debugging is enabled.

Issue History
Date Modified Username Field Change
======================================================================
05-11-08 16:53 daeken New Issue
05-11-08 16:54 daeken Note Added: 0002075
05-11-08 19:08 divan Issue Monitored: divan
12-22-08 12:34 VladD2 Status new => assigned
12-22-08 12:34 VladD2 Assigned To => VladD2
======================================================================

Reply all
Reply to author
Forward
0 new messages