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

feedback at nemerle.org feedback at nemerle.org
Sun Aug 6 20:54:44 CEST 2006


The following issue has been CLOSED
======================================================================
<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:                     closed
Resolution:                 open
Fixed in Version:           
======================================================================
Date Submitted:             07-29-2006 16:31 CEST
Last Modified:              08-06-2006 20:54 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

----------------------------------------------------------------------
 IT - 08-06-06 20:14 
----------------------------------------------------------------------
That's what I need. In the VS integration I can set up this option by
default.

----------------------------------------------------------------------
 nazgul - 08-06-06 20:54 
----------------------------------------------------------------------
By design.

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                          
08-06-06 20:14 IT             Note Added: 0001398                          
08-06-06 20:54 nazgul         Status                   new => closed       
08-06-06 20:54 nazgul         Note Added: 0001399                          
======================================================================




More information about the bugs mailing list