Minor, drop some obsolete usages of TRAIT in compiler

This commit is contained in:
Alexander Udalov
2015-10-13 17:39:52 +03:00
parent baaa3ef50a
commit 78829b9e8f
3 changed files with 4 additions and 12 deletions
@@ -156,7 +156,7 @@ public class PropertyCodegen {
boolean isDefaultAccessor = accessor == null || !accessor.hasBody();
// Don't generate accessors for trait properties with default accessors in TRAIT_IMPL
// Don't generate accessors for interface properties with default accessors in DefaultImpls
if (kind == OwnerKind.DEFAULT_IMPLS && isDefaultAccessor) return false;
if (declaration == null) return true;