Daniel Grunwald
|
e5217c2c13
|
Fixed bug in 'BetterConversion' implementation - converting to Func<> delegates is better than converting to Action<> delegates.
|
14 years ago |
Daniel Grunwald
|
77ea4dae30
|
Report more types of invalid equality comparisons as errors.
Mark an anonymous function conversion as invalid if there are compiler errors in the implicitly typed lambda.
|
14 years ago |
Daniel Grunwald
|
67d19127f5
|
Fixed bug in reachability analysis when lambda/anonymous method contains a condition or switch statement.
|
14 years ago |
Daniel Grunwald
|
1a7ca154b4
|
Allow conversion of anonymous method with unreachable endpoint to Func<T>.
|
14 years ago |
Daniel Grunwald
|
0f2b0c380e
|
Fixed lambda type inference in delegate creation expressions. ("new Func<int, int>(a => a)")
|
14 years ago |
Daniel Grunwald
|
79b8b00d29
|
Fix bug in output type inference for explicitly typed lambdas.
|
14 years ago |
Daniel Grunwald
|
b803d850f7
|
Do not report invalid conversion from int to void for this code:
void Run(Action<string> a) { }
int M() {
Run(x => $M()$);
}
|
14 years ago |
Daniel Grunwald
|
4d4f1f42b7
|
Fixed various resolver bugs.
|
15 years ago |
Daniel Grunwald
|
f631199013
|
Type system refactoring: split unresolved/resolved type systems.
|
15 years ago |
Daniel Grunwald
|
b7fcc55308
|
Re-enable resolver unit tests that failed due to the parser returning incorrect positions.
Fixed a bug that caused array initializers to fail to resolve when the parent variable initializer was not being resolved.
|
15 years ago |
Daniel Grunwald
|
b7a17c206e
|
Adjust unit tests to InvocationResolveResult changes.
|
15 years ago |
Daniel Grunwald
|
e37dc4b6c7
|
Move ResolveResults to NR.Semantics
|
15 years ago |
Daniel Grunwald
|
9d0e6ae0f8
|
Resolver: added support for collection initializers and nested object initializers.
|
15 years ago |
Daniel Grunwald
|
a5c93a38e4
|
Adjust resolver to object initializer AST changes.
|
15 years ago |
Daniel Grunwald
|
7a2c59ae4a
|
Add GetMemberOptions.
|
15 years ago |
Daniel Grunwald
|
f79b0a77f3
|
Resolver: array create expressions
|
15 years ago |
Daniel Grunwald
|
c9c204439f
|
Fix type inference and overload resolution when a class type parameter gets substituted by a method type parameter.
|
15 years ago |
Daniel Grunwald
|
5c585e110b
|
Apply license header to unit tests.
Add parser unit tests for ObjectCreateExpression.
|
15 years ago |
Daniel Grunwald
|
b52a348373
|
More work on lambda expressions.
|
15 years ago |
Daniel Grunwald
|
878dbbff0b
|
Fixed some issues in resolver; enable resolver unit tests.
|
15 years ago |
Daniel Grunwald
|
f30490c2a5
|
Add some parser unit tests.
|
15 years ago |
Daniel Grunwald
|
9e42e6b6f4
|
Enable some unit tests that work with the type reference hack.
|
16 years ago |
Daniel Grunwald
|
eaee5bf5ee
|
Use static instances on KnownTypeReference for the built-in C# types.
|
16 years ago |
Daniel Grunwald
|
a665e39680
|
Add lots of resolver unit tests.
|
16 years ago |