Commit 8b8a7ff
committed
Imlement new import seclectors for givens
It's now
```scala
given _
given T
```
Thta way it's more regular: A given selector is always followed by something: Either
a wildcard or a type.
The previous syntax for type bounds on normal imports is no longer supported.
We might want to bring it back at some point, but it's not essential.1 parent 0e2a86a commit 8b8a7ff
File tree
168 files changed
+256
-257
lines changed- compiler/src/dotty/tools/dotc/parsing
- docs/docs/internals
- tests
- disabled
- neg-with-compiler/quote-run-in-macro-2
- run/xml-interpolation-3
- invalid/run
- neg-custom-args
- neg-macros
- delegate-match-1
- delegate-match-2
- delegate-match-3
- i6432b
- i6432
- i6976
- inline-macro-staged-interpreter
- inline-tuples-1
- tasty-macro-assert-1
- tasty-macro-assert-2
- tasty-macro-error
- tasty-macro-positions
- tasty-string-interpolator-position-a
- tasty-string-interpolator-position-b
- neg-staging
- i5941
- quote-run-in-macro-1
- neg
- pending/run/tasty-comments
- pos-macros
- i6171
- i6535
- i6803b
- i7011
- i7853
- quote-nested-object
- tasty-constant-type
- treemap-unapply
- pos-special/fatal-warnings
- pos-staging
- pos
- reference
- run-custom-args
- Yretain-trees
- tasty-definitions-2
- tasty-definitions-3
- tasty-extractors-owners
- tasty-load-tree-1
- tasty-load-tree-2
- run-macros-erased/reflect-isFunctionType
- run-macros
- f-interpolation-1
- f-interpolator-neg
- gestalt-type-toolbox-reflect
- i4734
- i4735
- i5119b
- i5119
- i5188a
- i5533b
- i5533
- i5536
- i5629
- i5715
- i5941
- i6171
- i6518
- i6679
- i6765-b
- i6765-c
- i6765
- i6988
- i7008
- i7715
- i7898
- inferred-repeated-result
- inline-option
- inline-tuples-1
- inline-tuples-2
- inline-varargs-1
- no-symbol
- quote-force
- quote-impure-by-name
- quote-inline-function
- quote-matcher-symantics-1
- quote-matcher-symantics-2
- quote-matching-optimize-1
- quote-matching-optimize-2
- quote-matching-optimize-3
- quote-simple-macro
- quote-toExprOfSeq
- quote-toExprOfTuple
- quote-unrolled-foreach
- quoted-matching-docs
- refined-selectable-macro
- reflect-dsl
- reflect-lambda
- reflect-pos-fun
- reflect-select-constructor
- reflect-select-copy-2
- reflect-select-copy
- reflect-select-symbol-constructor
- reflect-select-value-class
- requiredSymbols
- tasty-argument-tree-1
- tasty-custom-show
- tasty-dealias
- tasty-definitions-1
- tasty-eval
- tasty-extractors-1
- tasty-extractors-2
- tasty-extractors-3
- tasty-extractors-constants-1
- tasty-extractors-types
- tasty-getfile-implicit-fun-context
- tasty-getfile
- tasty-indexed-map
- tasty-interpolation-1
- tasty-linenumber-2
- tasty-linenumber
- tasty-location
- tasty-macro-assert
- tasty-macro-const
- tasty-macro-positions
- tasty-original-source
- tasty-positioned
- tasty-seal-method
- tasty-simplified
- tasty-string-interpolation-reporter-test
- tasty-subtyping
- tasty-tree-map
- tasty-typeof
- tasty-unsafe-let
- type-show
- xml-interpolation-1
- xml-interpolation-2
- xml-interpolation-3
- xml-interpolation-4
- run-staging
- i6992
- shonan-hmm
- tasty-extractors-constants-2
- run-with-compiler-custom-args/tasty-interpreter/interpreter
- jvm
- run-with-compiler
- i6270
- reflect-sourceCode
- tasty-comment-consumer
- tasty-consumer
- run
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
168 files changed
+256
-257
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2985 | 2985 | | |
2986 | 2986 | | |
2987 | 2987 | | |
2988 | | - | |
2989 | 2988 | | |
2990 | 2989 | | |
2991 | 2990 | | |
| |||
3007 | 3006 | | |
3008 | 3007 | | |
3009 | 3008 | | |
3010 | | - | |
3011 | | - | |
| 3009 | + | |
| 3010 | + | |
| 3011 | + | |
3012 | 3012 | | |
3013 | | - | |
3014 | | - | |
3015 | | - | |
| 3013 | + | |
| 3014 | + | |
| 3015 | + | |
3016 | 3016 | | |
3017 | | - | |
3018 | | - | |
| 3017 | + | |
| 3018 | + | |
3019 | 3019 | | |
3020 | 3020 | | |
3021 | 3021 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
346 | 345 | | |
347 | 346 | | |
348 | 347 | | |
349 | | - | |
350 | | - | |
| 348 | + | |
| 349 | + | |
351 | 350 | | |
352 | 351 | | |
353 | 352 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments