Skip to content

Commit bc7c425

Browse files
committed
fix(docs/build): MissingCoreLibraryException
Before this commit, `generateReferenceDocumentation` failed with MissingCoreLibraryException even though it didn't use snipet checking. It turned out that `sc:fail` causes the problem, but I do not know exact reason for this. Nothing but snippet compiler should use the `sc:fail` metadata.
1 parent 607991c commit bc7c425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_docs/reference/new-types/union-types-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ The members of a union type are the members of its join.
156156
The following code does not typecheck, because method `hello` is not a member of
157157
`AnyRef` which is the join of `A | B`.
158158

159-
```scala sc:fail
159+
```scala
160160
trait A { def hello: String }
161161
trait B { def hello: String }
162162

0 commit comments

Comments
 (0)