[nem-bug] [Nemerle 0000725]: Warning: unexpected end of file. Current depth is 2 Line 8, position 11.

feedback at nemerle.org feedback at nemerle.org
Thu Aug 10 23:32:51 CEST 2006


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=725> 
======================================================================
Reported By:                marcinm
Assigned To:                nazgul
======================================================================
Project:                    Nemerle
Issue ID:                   725
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             08-05-2006 00:23 CEST
Last Modified:              08-10-2006 23:32 CEST
======================================================================
Summary:                    Warning: unexpected end of file. Current depth is 2 
Line 8, position 11.
Description: 
I found a strange but curious warning (as in summary). I can not guess, why
this warning is reported. The program works OK.
======================================================================

----------------------------------------------------------------------
 nazgul - 08-10-06 20:55 
----------------------------------------------------------------------
This is caused by XML in comment - not closed <summary> tag in
StaraMat.n:316
The message should mention its origin of course. :)

BTW. The project contains incorrect code - inheritance from module, which
is considered as "abstract and sealed". It is not rejected by compiler but
Mono (1.1.16) crashes on it and on MS.NET invalid IL is generated. The
workaround is to change the inherited module to class and mark all field
static (I guess we should create a convenience macro to do this
automatically for all fields).

----------------------------------------------------------------------
 nazgul - 08-10-06 23:32 
----------------------------------------------------------------------
Fixed on trunk.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
08-05-06 00:23 marcinm        New Issue                                    
08-05-06 00:23 marcinm        File Added: strange_warning.tgz                   

08-10-06 20:55 nazgul         Note Added: 0001409                          
08-10-06 23:32 nazgul         Status                   new => resolved     
08-10-06 23:32 nazgul         Resolution               open => fixed       
08-10-06 23:32 nazgul         Assigned To               => nazgul          
08-10-06 23:32 nazgul         Note Added: 0001410                          
======================================================================




More information about the bugs mailing list