[nem-bug] [Nemerle 0000882]: Operators defined inside Function
class are not implicitly visible
feedback at nemerle.org
feedback at nemerle.org
Mon Jul 2 20:50:26 CEST 2007
The following issue has been ASSIGNED.
======================================================================
<http://nemerle.org/bugs/view.php?id=882>
======================================================================
Reported By: nazgul
Assigned To: divan
======================================================================
Project: Nemerle
Issue ID: 882
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 02-07-2007 19:14 CET
Last Modified: 07-02-2007 20:50 CEST
======================================================================
Summary: Operators defined inside Function class are not
implicitly visible
Description:
See
http://nemerle.org/svn/nemerle/trunk/ncc/testsuite/positive/methods-1st-class-citizens.n
The operators should work without 'using Nemerle.Builtins.Function'
======================================================================
----------------------------------------------------------------------
divan - 07-02-07 19:41
----------------------------------------------------------------------
Should it just be added to default namespaces? (like in attached patch)
----------------------------------------------------------------------
nazgul - 07-02-07 19:51
----------------------------------------------------------------------
Your patch opens whole type to global namespace, which currently does not
bring any wrong side effects, but should not be necessary. The operators
should just work as they are defined inside the type of one of operands
(function).
----------------------------------------------------------------------
divan - 07-02-07 20:08
----------------------------------------------------------------------
Oh, indeed, I thought of them as of operators in auxiliary class :)
Then I have another one, just delay even if no matching operators are
currently discovered. Implies some more minor fixes, will fix it soon.
----------------------------------------------------------------------
nazgul - 07-02-07 20:11
----------------------------------------------------------------------
Cool, so let's make it in a proper way.
Issue History
Date Modified Username Field Change
======================================================================
02-07-07 19:14 nazgul New Issue
06-27-07 13:53 divan Issue Monitored: divan
07-02-07 19:39 divan File Added: GlobalEnv.n.patch
07-02-07 19:41 divan Note Added: 0001928
07-02-07 19:51 nazgul Note Added: 0001929
07-02-07 20:08 divan Note Added: 0001930
07-02-07 20:11 nazgul Note Added: 0001931
07-02-07 20:50 divan Status new => assigned
07-02-07 20:50 divan Assigned To => divan
======================================================================
More information about the bugs
mailing list