| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Plus further bug fixes.
|
|
|
|
| |
These were not printed before, fell back to toString method.
|
|
|
|
|
| |
- Use TypeLambda instead of PolyType.
- Further harmonize factory operations
|
| |
|
| |
|
|
|
|
| |
Use an abstract type instead.
|
|
|
|
| |
Trying to bring PolyTypes closer to TypeLambdas
|
|
|
|
|
|
| |
MethodTypes have paramTypes whereas PolyTypes have paramBounds.
We now harmonize by alling both paramInfos, and parameterizing
types that will become common to both.
|
|
|
|
|
| |
and generalize MethodParam to ParamRef, and
TypeParamInfo to ParamInfo
|
|
|
|
|
|
|
|
|
|
| |
This leads to a slight overall simplification, harmonizes pickle
format with internal representation, and makes MethodTypes and
PolyTypes more similar to each other.
I believe the change is useful as it is, but in particular it is
a useful step for an eventual unification of MethodTypes and
PolyTypes.
|
|
|
|
| |
You can still have positions printed by explictly passing -Yprintpos
|
|
|
|
|
|
| |
If an applied type has a refinement, it was
printed before as one large refinement type
including the type parameter bindings.
|
|\
| |
| | |
Avoid accidental captures of Context
|
| |
| |
| |
| |
| | |
ImportInfo#toString required the ctx parameter,so it was replaced by
ImportInfo#toText.
|
|/
|
|
| |
Omit the `=>' if a PolyType has a MethodType as result type.
|
| |
|
|
|
|
|
|
|
|
|
| |
Typer#ensureReported's comment outlines an example where errors
could go unreported, resulting in error trees after typer without
any reported error messages. This commit makes sure that at least
one error is reported if a tree node has an error type.
Fixes #1802.
|
|
|