Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation errors in TestNullableImporter and TestUtilityBase for .NET 1.1 build #21

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. Check out Jayrock from the repository (r877 at time of reporting) on a 
machine with .NET Framework 1.x installed
2. Run build.cmd in the root of the project

What is the expected output? What do you see instead?

Expect all compilation to succeed for all available platforms. Instead, build 
halts with following compilation errors while target .NET Framework 1.1:

tests\Jayrock\Json\Conversion\Converters\TestNullableImporter.cs(38,90): error 
CS1026: ) expected
tests\Jayrock\Json\Conversion\Converters\TestNullableImporter.cs(38,91): error 
CS1525: Invalid expression term ')'
tests\Jayrock\Json\Conversion\Converters\TestNullableImporter.cs(38,92): error 
CS1003: Syntax error, ':' expected
tests\Jayrock\Json\Conversion\Converters\TestNullableImporter.cs(38,94): error 
CS1026: ) expected
tests\Jayrock\Json\Conversion\Converters\TestNullableImporter.cs(44,17): error 
CS0246: The type or namespace name 'NullableImporter' could not be found (are 
you missing a using directive or an assembly reference?)
tests\Jayrock\Json\Conversion\Converters\TestNullableImporter.cs(89,74): error 
CS1026: ) expected
tests\Jayrock\Json\Conversion\Converters\TestNullableImporter.cs(89,75): error 
CS1525: Invalid expression term ')'
tests\Jayrock\Json\Conversion\Converters\TestNullableImporter.cs(89,76): error 
CS1003: Syntax error, ':' expected
tests\Jayrock\Json\Conversion\Converters\TestNullableImporter.cs(89,77): error 
CS1026: ) expected
tests\Jayrock\TestUtilityBase.cs(50,39): error CS1525: Invalid expression term 
'?'
tests\Jayrock\TestUtilityBase.cs(50,74): error CS1003: Syntax error, ':' 
expected
tests\Jayrock\TestUtilityBase.cs(50,76): error CS1002: ; expected

See the attached build log for full details.

Original issue reported on code.google.com by azizatif on 14 Oct 2010 at 8:21

Attachments:

@GoogleCodeExporter
Copy link
Author

Attached patch should address the issue.

Original comment by azizatif on 14 Oct 2010 at 8:29

Attachments:

@GoogleCodeExporter
Copy link
Author

Mono build failing after applying patch in comment 1 [1] with the following 
error:

src\Jayrock.Json\Json\Conversion\Converters\NullableImporter.cs(44,31):
error CS0117: `System.Nullable' does not contain a definition for 
`GetUnderlyingType'

[1] http://code.google.com/p/jayrock/issues/detail?id=21#c1

Original comment by azizatif on 14 Oct 2010 at 9:01

@GoogleCodeExporter
Copy link
Author

Attached patch should address issue from comment 2 [1].

1] http://code.google.com/p/jayrock/issues/detail?id=21#c2

Original comment by azizatif on 14 Oct 2010 at 9:07

Attachments:

@GoogleCodeExporter
Copy link
Author

Fixed in r880.

Original comment by azizatif on 14 Oct 2010 at 9:23

  • Changed state: Fixed

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant