From 267041527ce9001f1170dbf6a87d57ba97c983ac Mon Sep 17 00:00:00 2001 From: pedrohjordao Date: Sun, 30 Aug 2020 09:07:08 +0100 Subject: [PATCH] Fix for union-types-spec documentation There was a small issue with an unclosed code block --- docs/docs/reference/new-types/union-types-spec.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/reference/new-types/union-types-spec.md b/docs/docs/reference/new-types/union-types-spec.md index 4888f0bf3880..4f08aab7fad1 100644 --- a/docs/docs/reference/new-types/union-types-spec.md +++ b/docs/docs/reference/new-types/union-types-spec.md @@ -134,6 +134,7 @@ trait A extends C with D trait B extends C with E def test(x: A | B) = x.hello // ok as `hello` is a member of the join of A | B which is C +``` ## Exhaustivity checking