equal
deleted
inserted
replaced
674 |
674 |
675 attribBounds(tree.typarams); |
675 attribBounds(tree.typarams); |
676 |
676 |
677 // If we override any other methods, check that we do so properly. |
677 // If we override any other methods, check that we do so properly. |
678 // JLS ??? |
678 // JLS ??? |
|
679 chk.checkClashes(tree.pos(), env.enclClass.type, m); |
679 chk.checkOverride(tree, m); |
680 chk.checkOverride(tree, m); |
680 |
681 |
681 // Create a new environment with local scope |
682 // Create a new environment with local scope |
682 // for attributing the method. |
683 // for attributing the method. |
683 Env<AttrContext> localEnv = memberEnter.methodEnv(tree, env); |
684 Env<AttrContext> localEnv = memberEnter.methodEnv(tree, env); |