Skip to content

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Dec 26, 2020

Fixes #9965

@odersky
Copy link
Contributor Author

odersky commented Dec 26, 2020

test performance please

@dottybot
Copy link
Member

performance test scheduled: 7 job(s) in queue, 1 running.

@dottybot
Copy link
Member

Performance test finished successfully:

Visit http://dotty-bench.epfl.ch/10915/ to see the changes.

Benchmarks is based on merging with master (d8a6056)

val decls1 = newScope
val newTypeParams = mapSymbols(original.typeParams, ttmap1, mapAlways = true)
newTypeParams.foreach(decls1.enter)
for sym <- decls do if !sym.is(TypeParam) then decls1.enter(sym)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
for sym <- decls do if !sym.is(TypeParam) then decls1.enter(sym)
for sym <- decls if !sym.is(TypeParam) do decls1.enter(sym)

@nicolasstucki nicolasstucki merged commit 8b430a2 into scala:master Jan 4, 2021
@nicolasstucki nicolasstucki deleted the fix-#9965 branch January 4, 2021 09:36
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
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.

Bad parameter reference for inlined given definition
4 participants