Skip to content

Switch given syntax for Trampoline ExecutionContext - #42

Merged
lenguyenthanh merged 1 commit into
masterfrom
inline-given-trampoline
Aug 1, 2026
Merged

Switch given syntax for Trampoline ExecutionContext#42
lenguyenthanh merged 1 commit into
masterfrom
inline-given-trampoline

Conversation

@lenguyenthanh

Copy link
Copy Markdown
Member

given a: A is equal to implicit lazy val a: A, so in order to keep
current semantic we need to use inline given, but it can't be use with
trampoline type (scala/scala3#16804). Hence we
need create a new Trampoline trait and use it in conjunction with inline
given.

`given a: A` is equal to `implicit lazy val a: A`, so in order to keep
current semantic we need to use `inline given`, but it can't be use with
trampoline type (scala/scala3#16804). Hence we
need create a new Trampoline trait and use it in conjunction with inline
given.
@lenguyenthanh
lenguyenthanh merged commit 364e8dc into master Aug 1, 2026
4 checks passed
@lenguyenthanh
lenguyenthanh deleted the inline-given-trampoline branch August 1, 2026 07:42
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.

1 participant