Skip to content

REPL crash when I try to tab complete on SortedMap. #16934

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

Closed
sebposselt opened this issue Feb 16, 2023 · 2 comments
Closed

REPL crash when I try to tab complete on SortedMap. #16934

sebposselt opened this issue Feb 16, 2023 · 2 comments

Comments

@sebposselt
Copy link

sebposselt commented Feb 16, 2023

Compiler version

2.12.16

Minimized code

When i try tab completion on SortedMap, the REPL crashes

import scala.collection.immutable.SortedMap                                                                                                                                  
scala> val x = SortedMap.

Output

Expectation

Exception in thread "main" java.lang.AssertionError: assertion failed: missing implicit parameter of type Ordering[K] after typer at phase parser

@sebposselt sebposselt added itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label labels Feb 16, 2023
@WojciechMazur
Copy link
Contributor

I can reproduce it using Scala 3.2.2, but not in 3.3.0-RC2, so it seems to be fixed already

@WojciechMazur WojciechMazur added area:repl and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Feb 16, 2023
@som-snytt
Copy link
Contributor

That was #16559

Why does it say compiler 2.12.16?

For the record, I could not reproduce it anywhere, but then the weird exception rang a bell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants