[nem-bug] [Nemerle 0000765]: Extension methods overloads and
property
feedback at nemerle.org
feedback at nemerle.org
Mon Sep 25 02:07:07 CEST 2006
The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=765>
======================================================================
Reported By: VladD2
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 765
Category: Compiler
Reproducibility: always
Severity: major
Priority: high
Status: new
======================================================================
Date Submitted: 09-25-2006 02:07 CEST
Last Modified: 09-25-2006 02:07 CEST
======================================================================
Summary: Extension methods overloads and property
Description:
using System.IO;
using Nemerle.Utility;
def dir = DirectoryInfo("test");
when(!dir.Exists) // Exists is a property!
dir.Create();
---------------------------------------------------
Main.n(6,7,6,17): error : typing fails on ambiguity between overloads:
property `System.IO.DirectoryInfo.Exists'
method Nemerle.Utility.NString.Exists(s : string, f : char -> bool) :
bool
method Nemerle.Utility.NArray.Exists(a : array ['a.721], f : 'a.721 ->
bool) : bool
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
09-25-06 02:07 VladD2 New Issue
======================================================================
More information about the bugs
mailing list