## minimized code ```Scala public class Exception { public <T> Exception(T actual, T matcher) { } public <T> Object foo(T actual, T matcher) { return null; } } ``` ```scala -- [E006] Unbound Identifier Error: tests/pos/Exception.java:2:25 ------------------------------------------------------ 2 | public <T> Exception(T actual, T matcher) { } | ^ | Not found: type T -- [E006] Unbound Identifier Error: tests/pos/Exception.java:2:35 ------------------------------------------------------ 2 | public <T> Exception(T actual, T matcher) { } | ^ | Not found: type T ``` </details> ## expectation The code should type check.