Bug 47672

Summary: Invalid error CS0314
Product: [Mono] Compilers Reporter: Jonathan Chambers <joncham>
Component: C#Assignee: Marek Safar <masafa>
Status: RESOLVED FIXED    
Severity: normal CC: mono-bugs+mono
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Tags: Is this bug a regression?: ---
Last known good build:
Attachments: Repro file

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