[svn] r7668: nemerle/trunk: Nemerle.Compiler.nproj
ncc/testsuite/frommcs/test-78.n ncc/testsuite/negative/...
nazgul
svnadmin at nemerle.org
Fri May 11 19:56:21 CEST 2007
Log:
Fixes
Author: nazgul
Date: Fri May 11 19:56:14 2007
New Revision: 7668
Modified:
nemerle/trunk/Nemerle.Compiler.nproj
nemerle/trunk/ncc/testsuite/frommcs/test-78.n
nemerle/trunk/ncc/testsuite/negative/void-field.n
Modified: nemerle/trunk/Nemerle.Compiler.nproj
==============================================================================
--- nemerle/trunk/Nemerle.Compiler.nproj (original)
+++ nemerle/trunk/Nemerle.Compiler.nproj Fri May 11 19:56:14 2007
@@ -11,6 +11,7 @@
<DefineConstants>_stage3</DefineConstants>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
+ <EnabledWarnings>10006</EnabledWarnings>
<!--NoStdMacros>true</NoStdMacros-->
<GreedyReferences>false</GreedyReferences>
<KeyOriginatorFile>misc\keys\Nemerle.Compiler.snk</KeyOriginatorFile>
Modified: nemerle/trunk/ncc/testsuite/frommcs/test-78.n
==============================================================================
--- nemerle/trunk/ncc/testsuite/frommcs/test-78.n (original)
+++ nemerle/trunk/ncc/testsuite/frommcs/test-78.n Fri May 11 19:56:14 2007
@@ -16,8 +16,7 @@
{
static ShortCasting () : bool
{
-#if !RUNTIME_MONO
- mutable i = 0;
+ mutable i = 0s;
mutable a = N1.A.A_1;
i = ( a :> short); //<- crash
@@ -31,15 +30,8 @@
}//<- used to fail, can't convert
else
- {
- {
true;
}
- }
-#else
-true
-#endif
- }
static IntCasting () : bool
{
Modified: nemerle/trunk/ncc/testsuite/negative/void-field.n
==============================================================================
--- nemerle/trunk/ncc/testsuite/negative/void-field.n (original)
+++ nemerle/trunk/ncc/testsuite/negative/void-field.n Fri May 11 19:56:14 2007
@@ -1,5 +1,5 @@
module M {
- public x : void; // E: field `M.x' has void type, which is not allowed
+ public x : void; // E: field.*has void type, which is not allowed
public Main () : void // OK
{
More information about the svn
mailing list