[nem-bug] [Nemerle 0000989]: bad error message on failed? typing

feedback at nemerle.org feedback at nemerle.org
Tue Apr 17 17:57:11 CEST 2007


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=989> 
======================================================================
Reported By:                divan
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   989
Category:                   Compiler (type engine)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             04-17-2007 17:57 CEST
Last Modified:              04-17-2007 17:57 CEST
======================================================================
Summary:                    bad error message on failed? typing
Description: 
using Nemerle.Collections;
def _x = 1;
_ = [Set()];

This produces weird error about cyclic type.
However if we replace Set with Vector it compiles ok, converting it to
Vector[object].

Error should be "cannot deduce Set type parameter" or at least error
location should be fixed (it's whole body now)

======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-17-07 17:57 divan          New Issue                                    
======================================================================




More information about the bugs mailing list