projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f14f87f
)
Update generic.cs
author
kloun
<andrey0bolkonsky@gmail.com>
Thu, 22 Sep 2016 21:17:38 +0000
(
00:17
+0300)
committer
GitHub
<noreply@github.com>
Thu, 22 Sep 2016 21:17:38 +0000
(
00:17
+0300)
mcs/mcs/generic.cs
patch
|
blob
|
history
diff --git
a/mcs/mcs/generic.cs
b/mcs/mcs/generic.cs
index 2748df0b4f4a7c38fdde879f8a9cda6ef00b6ef1..fdf5b81f92c38a4ef8dba73e5c202a990383eec3 100644
(file)
--- a/
mcs/mcs/generic.cs
+++ b/
mcs/mcs/generic.cs
@@
-3125,7
+3125,7
@@
namespace Mono.CSharp {
//
public int ExactInference (TypeSpec u, TypeSpec v)
{
- // If V
i
s an array type
+ // If V
i
s an array type
if (v.IsArray) {
if (!u.IsArray)
return 0;
@@
-3161,7
+3161,7
@@
namespace Mono.CSharp {
if (u.TypeArguments.Length != v.TypeArguments.Length)
return 0;
-
+
int score = 0;
for (int i = 0; i < ga_v.Length; ++i)
score += ExactInference (ga_u [i], ga_v [i]);