From d5d5f7735215fbbe86f5764581d809a92f507d01 Mon Sep 17 00:00:00 2001 From: kefren Date: Fri, 25 Apr 2008 11:23:26 +0000 Subject: pullup a patch from trunk that fixes a crash when inferring from null argument anonymous method. This should fix crash when building wip/nemo. Bump pkgrevision Thanks to Marek Safar for pointing me the exact change in mono tree --- lang/mono/patches/patch-ad | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lang/mono/patches/patch-ad (limited to 'lang/mono/patches') diff --git a/lang/mono/patches/patch-ad b/lang/mono/patches/patch-ad new file mode 100644 index 00000000000..97b179a25b5 --- /dev/null +++ b/lang/mono/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.14 2008/04/25 11:23:26 kefren Exp $ +--- mcs/mcs/anonymous.cs.orig 2008-04-25 13:42:00.000000000 +0300 ++++ mcs/mcs/anonymous.cs 2008-04-25 13:42:44.000000000 +0300 +@@ -1150,7 +1150,7 @@ + + public virtual bool HasExplicitParameters { + get { +- return true; ++ return Parameters != null; + } + } + -- cgit v1.2.3