Skip to content

Docs code snippets for compiler internal representation #2548

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
nicolasstucki opened this issue May 26, 2017 · 4 comments
Closed

Docs code snippets for compiler internal representation #2548

nicolasstucki opened this issue May 26, 2017 · 4 comments

Comments

@nicolasstucki
Copy link
Contributor

We currently use the same scala code snippets in the documentation when writing valid scala code and writing compiler internal representation of the code. The latter one should be formatted in such a way that users will not try to use it in the source code.

@nicolasstucki
Copy link
Contributor Author

@felixmulder do you have some suggestion for this?

@felixmulder
Copy link
Contributor

felixmulder commented May 26, 2017

Yes, don't do this. :trollface:

@Varunram
Copy link
Contributor

@nicolasstucki @felixmulder May I know the scale of difficulty for this issue? If its novice, I could work on it. Thanks!

@felixmulder
Copy link
Contributor

This is just a decision on the Dotty team level TBH. We need to say how we should indicate that something is compiler trees and not Scala code. I'd spend your energy on cooler issues :)

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