afscrome / IronVelocity

A wrapper around NVelocity (a port of Apache Velocity) using the DLR to provide higher performance template execution.
MIT License
6 stars 1 forks source link

Overload Resolution Failure #55

Closed afscrome closed 8 years ago

afscrome commented 8 years ago

Trying to do a GetIndex on a class with the below two indexer declarations with an integer argument is being resolved as ambigious - in both cases it shoudl be non ambigious (resolving to the indexer without a params array)

public int this[int  i] => i;
public string this[params long[] values] => string.Join(", ", values);
public long this[long  i] => i;
public string this[params long[] values] => string.Join(", ", values);