[svn] r7400: nemerle/trunk/ncc/typing/Typer.n
nazgul
svnadmin at nemerle.org
Sat Feb 10 16:53:04 CET 2007
Log:
Fix condition
Author: nazgul
Date: Sat Feb 10 16:53:02 2007
New Revision: 7400
Modified:
nemerle/trunk/ncc/typing/Typer.n
Modified: nemerle/trunk/ncc/typing/Typer.n
==============================================================================
--- nemerle/trunk/ncc/typing/Typer.n (original)
+++ nemerle/trunk/ncc/typing/Typer.n Sat Feb 10 16:53:02 2007
@@ -3111,7 +3111,7 @@
} else {
match ((from.Hint, to.Hint)) {
| (Some (Array (t1, n1)), Some (Array (t2, n2)))
- when n1 == n2 && t1.TryRequire (t2) || t2.TryRequire (t1) =>
+ when n1 == n2 && (t1.TryRequire (t2) || t2.TryRequire (t1)) =>
TExpr.TypeConversion (expr, to, ConversionKind.DownCast ())
| _ =>
ReportError (messenger, $ "cannot convert $from to $to");
More information about the svn
mailing list