Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport "Fix a REPL bad symbolic reference" to LTS #20939

Closed
wants to merge 40 commits into from

Conversation

WojciechMazur
Copy link
Contributor

Backports #19786 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

i10416 and others added 30 commits July 1, 2024 21:57
xLiteral mistakenly assumed that the element just after `<` is always
non-special element, but it is not true. It could be xCharData, comment,
xProcInstr.

[Cherry-picked 77aa363]
Just replacing element with content_LT, it works.

See #19522 (comment)

[Cherry-picked 27046fe]
To check parsing properly, it is better to run a test and assert parse
result.

[Cherry-picked 9de9d57]
[Cherry-picked 3c453ab][modified]
Closes #19526

[Cherry-picked 2c32436]
To qualify as a super-parameter alias, a parameter of a subclass has to be
passed to the primary constructor of the superclass.

Fixes #19711

[Cherry-picked e6b726b]
potential TODO: tree's of Raw types from Java are still incorrect
once they are serialized to TASTy, however it is debateable if we
care to support them.

[Cherry-picked 3ab2999]
(If we widen Foo.this.Inner in the parents of a class to AbstractFoo#Inner, i.e.
  an inherited class Inner prefixed by its owner abstract class AbstractFoo,
  this is not considered a stable prefix for a class parent type.
  But in Java this is the correct type so allow it.)

[Cherry-picked d37857c]
Add a test to confirm issue#19762 is solved.

[Cherry-picked 2a1d1b3]
Given a query as
```scala
def func(a@@: Int, b: Int)(c: Int) =
    a + b + c
```
range selection will now let you choose `a: Int, b: Int`.
The previous options are `a: Int` and the whole definition of `func`.

[Cherry-picked 9f61ed5]
dwijnand and others added 6 commits July 2, 2024 00:45
 - Be more specific when we go into the special case of not
   updating checkedPeriod
 - Always update lastDenotation.
 - Keep computeDenot small, move work to recomputeDenot

[Cherry-picked e79b2e9]
…ario

This brings back an element of the original solution.

[Cherry-picked 5631d76]
@WojciechMazur
Copy link
Contributor Author

Backport temporarily suspended as it causes a new regressions in the OpenCB

@WojciechMazur WojciechMazur marked this pull request as draft July 2, 2024 10:07
Base automatically changed from lts-19744 to lts-3.3 July 2, 2024 19:18
@WojciechMazur WojciechMazur deleted the lts-19786 branch July 12, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.