Skip to content

Use bootstrapped library to generate docs #8371

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 Feb 25, 2020 · 0 comments
Closed

Use bootstrapped library to generate docs #8371

nicolasstucki opened this issue Feb 25, 2020 · 0 comments

Comments

@nicolasstucki
Copy link
Contributor

We should use the bootstrapped library to generate documentation.

The following line should use dotty-bootstrapped/genDocs
https://github.com/lampepfl/dotty/blob/master/project/scripts/genDocs#L22

But this currently fails with

-- Error: library/src-bootstrapped/dotty/internal/StringContextMacro.scala:582:25 
582 |        checkTypeWithArgs(argument.get, conversionChar, partIndex, flags)
    |                         ^
    |Recursion limit exceeded.
    |Maybe there is an illegal cyclic reference?
    |If that's not the case, you could also try to increase the stacksize using the -Xss JVM option.
    |A recurring operation is (inner to outer):
    |
    |  subtype LazyRef(...) <:< LazyRef(...)
-- [E046] Cyclic Error: library/src-bootstrapped/dotty/internal/StringContextMacro.scala:584:28 
584 |        checkTypeWithoutArgs(conversionChar, partIndex, flags, formattingStart)
    |                            ^
    |                            Cyclic reference 

nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Mar 22, 2020
anatoliykmetyuk added a commit that referenced this issue Mar 23, 2020
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