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

Enable implicit parameters in the presence of view- or context bounds #4839

Closed
scabug opened this issue Jul 25, 2011 · 4 comments
Closed

Enable implicit parameters in the presence of view- or context bounds #4839

scabug opened this issue Jul 25, 2011 · 4 comments
Assignees
Labels
Milestone

Comments

@scabug
Copy link

@scabug scabug commented Jul 25, 2011

Currently, a method or class with view- or context bounds may not define any additional implicit parameters. This restriction is becoming important, as context bounds are used more often. For example, embedded DSLs (in particular, those embedded using lightweight modular staging) are suffering from a lot of verbosity because of this restriction.

@scabug

This comment has been minimized.

Copy link
Author

@scabug scabug commented Jul 25, 2011

Imported From: https://issues.scala-lang.org/browse/SI-4839?orig=1
Reporter: @phaller
Affected Versions: 2.8.0, 2.9.0, 2.9.1
Other Milestones: 2.10.0

@scabug

This comment has been minimized.

Copy link
Author

@scabug scabug commented Jul 25, 2011

Commit Message Bot (anonymous) said:
(phaller in r25370) Enable implicit parameters in the presence of view- or context bounds. Fix #4839. Review by moors.

@scabug scabug closed this Jul 25, 2011
@scabug

This comment has been minimized.

Copy link
Author

@scabug scabug commented Jul 26, 2011

Commit Message Bot (anonymous) said:
(phaller in r25372) Add test for #4839. No review.

@scabug

This comment has been minimized.

Copy link
Author

@scabug scabug commented Jul 26, 2011

@retronym said:
The spec needs a little update after this one, it explicitly states "Also, a method or class with view- or context bounds may not define any additional implicit parameters."

@scabug scabug added the enhancement label Apr 7, 2017
@scabug scabug added this to the 2.9.1 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.