From e5315cce416c665d7c6d2740d171343829b30f4c Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 16 Aug 2016 18:34:36 +0200 Subject: Fix #1444: Add implicit arguments to supertraits If a super trait is given as a type (i.e. no argument list), implicit args were not passed. This is fixed now. Also, we now check for parameterized traits lacking type arguments in Typer instead of in Mixin. Fixes #1444. --- tests/neg/traitParamsMixin.scala | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/neg/traitParamsMixin.scala') diff --git a/tests/neg/traitParamsMixin.scala b/tests/neg/traitParamsMixin.scala index dfb9fbe2f..aa91012d5 100644 --- a/tests/neg/traitParamsMixin.scala +++ b/tests/neg/traitParamsMixin.scala @@ -2,8 +2,6 @@ trait T(x: Int) { def f = x } -class C extends T // error - trait U extends T class D extends U { // error -- cgit v1.2.3