Skip to content

as is interpreted as keyword #7103

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
SrTobi opened this issue Aug 26, 2019 · 0 comments
Closed

as is interpreted as keyword #7103

SrTobi opened this issue Aug 26, 2019 · 0 comments

Comments

@SrTobi
Copy link
Contributor

SrTobi commented Aug 26, 2019

minimized code

class X
object X extends X
given `as` as X = X

expectation

A given instance named as

actual

image
Also note that the error message mentions for which should be as I guess?
image

What is it now anyway? given as or delegate for?

nicolasstucki added a commit that referenced this issue Aug 27, 2019
Fix #7103: Accept backquoted `as` as the name of a given
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

1 participant