From d4313483784750229b74005b5b5f6e42a2f7633a Mon Sep 17 00:00:00 2001 From: Taisuke Oe Date: Thu, 30 Jan 2020 13:38:12 +0900 Subject: [PATCH] fix union type sample code to compile --- 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 75b884121338..3c07309d3179 100644 --- a/docs/docs/reference/new-types/union-types-spec.md +++ b/docs/docs/reference/new-types/union-types-spec.md @@ -71,6 +71,7 @@ Given ```scala trait C[+T] trait D +trait E class A extends C[A] with D class B extends C[B] with D with E ```