diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-06-02 15:05:41 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-06-02 15:05:41 +0400 |
commit | b61fc1bb14ec9985b439c0584609b8eca31cb485 (patch) | |
tree | fbf7b335dd21eaec19427749415baa79a7163e80 /mcs/errors/ChangeLog | |
parent | 3209af0eaf7c3d667b7789a0d791c4aff1c60c81 (diff) |
Fix #75080, cs0119.cs.
* mcs/ecore.cs (Expression.ExprClassToResolveFlags): New. Broken out of ...
(Expression.Resolve): ... this. Use it. Remove bogus code
allowing ExprClass.Type and ExprClass.Namespace for
ResolveFlags.VariableOrValue.
(Expression.Resolve) [1-argument variant]: Change default resolve
flags based on language version.
(Expression.Error_UnexpectedKind): Use a simple string array
rather than an ArrayList.
* mcs/expression.cs (TypeOf.DoResolve): Set eclass to ExprClass.Value,
not ExprClass.Type.
(TypeOfVoid.DoResolve): Likewise.
(MemberAccess.DoResolve) [3-argument variant]: Make private. Drop
flags argument -- it always has the same value.
* errors/cs0119-2.cs: New test from #75080.
svn path=/trunk/mcs/; revision=45321
Diffstat (limited to 'mcs/errors/ChangeLog')
-rw-r--r-- | mcs/errors/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mcs/errors/ChangeLog b/mcs/errors/ChangeLog index 09b0e5d8ec9..7d2bdb4d1a5 100644 --- a/mcs/errors/ChangeLog +++ b/mcs/errors/ChangeLog @@ -1,3 +1,7 @@ +2005-06-02 Raja R Harinath <rharinath@novell.com> + + * cs0119-2.cs: New test from #75080. + 2005-05-31 Raja R Harinath <rharinath@novell.com> * cs1589.cs, cs1590.cs, cs1590-2.cs, cs1590-3.cs, cs1592.cs: |