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

Confusing @sect compilation error #46

Open
caoilte opened this issue Mar 21, 2017 · 0 comments
Open

Confusing @sect compilation error #46

caoilte opened this issue Mar 21, 2017 · 0 comments

Comments

@caoilte
Copy link

caoilte commented Mar 21, 2017

@import Main._

@sect{Test}

Generates the following error message,

[error] /Users/caoiocon/cps/chuckwagon/readme/Readme.scalatex:3: type mismatch;
[error]  found   : scalatex.site.Section.Proxy
[error]  required: scalatags.Text.all.Frag
[error]     (which expands to)  scalatags.generic.Frag[scalatags.text.Builder,String]
[error] @sect{test}
[error]      ^
[error] one error found

It goes away if you change it to

@import Main._

@sect{Test}
    test

but this is confusing for a new user

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

No branches or pull requests

1 participant