diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-05-26 17:55:43 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-05-26 17:55:43 +0400 |
commit | 8d94f9e9e62c61587c09c92f9a772e61dc2dc090 (patch) | |
tree | ddb5be2a6e0d6c675a00d703a046df0a989bc4e0 /mcs/errors/known-issues-gmcs | |
parent | 6157df587e7f17039f6396010c2437e6fa723070 (diff) | |
parent | 2f658596c92fd04a02090dbe769057390feb4d1d (diff) |
In mcs:
Improve user-defined conversion handling.
* convert.cs (GetConversionOperators): Rewrite. Return only the
applicable operators.
(AddConversionOperators): New. Helper for GetConversionOperators.
(FindMostEncompassedType, FindMostEncompassingType): Verify that
there is only one most encompassed/encompassing type.
(FindMostSpecificSource, FindMostSpecificTarget): Remove
"applicable operator" handling.
(UserConversion): Move cache here from GetConversionOperators.
Directly cache the chosen operator, rather than the whole
MethodGroup.
(ExplicitNumericConversion): Fix buggy implementation of Decimal
case. Allow conversion of decimal to sbyte and byte too.
* expression.cs (EmptyExpression.Grab, EmptyExpression.Release):
New static methods. Used to avoid allocating EmptyExpressions in
convert.cs.
In errors:
* cs0173-3.cs: Rename from cs0172-2.cs. CSC 1.1 reports CS0173,
CSC 2.0.40607 reports CS0172. CS0173 is somewhat more appropriate
since the conversion is ambiguous.
In tests:
* test-387.cs: New test from #54928.
svn path=/trunk/mcs/; revision=45046
Diffstat (limited to 'mcs/errors/known-issues-gmcs')
-rw-r--r-- | mcs/errors/known-issues-gmcs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mcs/errors/known-issues-gmcs b/mcs/errors/known-issues-gmcs index f2ccf11ced9..66cc5f93e14 100644 --- a/mcs/errors/known-issues-gmcs +++ b/mcs/errors/known-issues-gmcs @@ -15,6 +15,7 @@ cs0118.cs cs0119.cs cs0121-3.cs NO ERROR cs0122-12.cs +cs0173-3.cs cs0201.cs cs0202.cs # new in GMCS cs0229.cs NO ERROR @@ -47,11 +48,9 @@ cs1513.cs cs1518.cs cs1525.cs cs1528.cs -cs1535.cs # new in GMCS; grammar issue cs1540-2.cs # new in GMCS cs1540-3.cs NO ERROR # new in GMCS cs1540-5.cs NO ERROR # new in GMCS -cs1552.cs # new in GMCS; grammar issue cs1586.cs cs1638.cs NO ERROR cs1641.cs @@ -59,5 +58,3 @@ cs1666.cs NO ERROR cs2007.cs gcs0694.cs NO ERROR gcs1644-2.cs NO ERROR - -cs0647.cs NO ERROR # not yet merged |