Bug 47672 - Invalid error CS0314
Summary: Invalid error CS0314
Alias: None
Product: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Marek Safar
Depends on:
Reported: 2016-11-22 21:44 UTC by Jonathan Chambers
Modified: 2017-01-11 19:23 UTC (History)
1 user (show)

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

Repro file (1.37 KB, text/plain)
2016-11-22 21:44 UTC, Jonathan Chambers

Description Jonathan Chambers 2016-11-22 21:44:39 UTC
Created attachment 18603 [details]
Repro file

Attempt to compile code in repro project.

.Net Compiles fine

Recent Mono C# Compiler:
Program.cs(18,57): error CS0314: The type `TVector' cannot be used as type param
eter `TVector' in the generic type or method `IBezier<TVector>'. There is no box
ing or type parameter conversion from `TVector' to `IVector<TVector>'
Program.cs(46,26): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings

See attached file
Comment 1 Marek Safar 2017-01-11 19:23:05 UTC
Fixed in master

Note You need to log in before you can comment on or make changes to this bug.