[nem-bug] [Nemerle 0000722]: Recursive references.

feedback at nemerle.org feedback at nemerle.org
Sun Aug 6 14:38:19 CEST 2006


A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=722> 
======================================================================
Reported By:                IT
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   722
Category:                   Compiler
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             07-29-2006 16:31 CEST
Last Modified:              08-06-2006 14:38 CEST
======================================================================
Summary:                    Recursive references.
Description: 
Source code:

using System.Windows.Forms;
_ = 0

Command line:

ncc.exe test.n

result - error

ncc.exe -r:System.Data test.n

result - OK

Looks like the compiler parses assemblies recursively. 

1. It’s confusing.
2. It may cause deployment problems as the reference ‘Copy’ option for
particular assembly will copy only root assembly without its dependents. 
3. It’s definitely increase compiler load time.

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

----------------------------------------------------------------------
 nazgul - 08-06-06 14:38 
----------------------------------------------------------------------
Well, this has been discussed several times, but we still would like to
keep the current semantics, as it is VERY convenient when compiling stuff
from command line / creating simple makefile (or other) build scripts.

If you don't like recursive loading of libraries, you can use -greedy-
option:
    -greedy, -greedy-references+/-  Recursive loading references of used
assemblies

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-29-06 16:31 IT             New Issue                                    
07-30-06 05:11 IT             Issue Monitored: IT                          
08-06-06 14:38 nazgul         Note Added: 0001395                          
======================================================================




More information about the bugs mailing list