Bug 15238 - mcs could not compile NUnitLite 1.0 test suite
Summary: mcs could not compile NUnitLite 1.0 test suite
Status: RESOLVED FIXED
Alias: None
Product: Compilers
Classification: Mono
Component: C# ()
Version: 3.2.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Marek Safar
URL:
Depends on:
Blocks:
 
Reported: 2013-10-07 11:41 UTC by Sebastien Pouliot
Modified: 2013-10-08 13:31 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Sebastien Pouliot 2013-10-07 11:41:04 UTC
The following code [1] had to be commented in order to build the NUnitLite 1.0.0 tests. I could not test with a recent `csc` but I assume it works.

/Developer/MonoTouch/Source/NUnitLite/NUnitLite-1.0.0/src/tests/Constraints/AsyncDelayedConstraintTests.cs(31,64): error CS1660: Cannot convert `lambda expression' to non-delegate type `object'

$ mono --version
Mono JIT compiler version 3.2.3 ((no/8d3b4b7 Mon Sep 16 23:46:28 EDT 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug 
	LLVM:          yes(3.3svn-mono)
	GC:            sgen

[1] https://github.com/spouliot/NUnitLite/commit/079bd2d351374575d1947ef9810e5f70bc71b394
Comment 1 Marek Safar 2013-10-08 13:31:56 UTC
Fixed in master