Skip to content

Commit

Permalink
Fix typo (CompatabilityBEI2.java -> CompatibilityBEI2.java) and make …
Browse files Browse the repository at this point in the history
…CompatibilityBEI2.java pass. (#8)

Make CompatibilityBEI2.java pass.
  • Loading branch information
xingweitian authored Aug 18, 2019
1 parent 505dcf8 commit ab8af46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ abstract class O implements CharSequence {}

@Immutable interface ImmutableInterface<E extends @ReceiverDependantMutable Object> {}

// :: error: (declaration.inconsistent.with.implements.clause)
// :: error: (declaration.inconsistent.with.implements.clause) :: error: (type.argument.type.incompatible)
@Mutable abstract class P implements ImmutableInterface<@Mutable Object> {}

@Immutable abstract class Q implements ImmutableInterface<@Immutable Object> {}

// :: error: (declaration.inconsistent.with.implements.clause)
// :: error: (declaration.inconsistent.with.implements.clause) :: error: (type.argument.type.incompatible)
@ReceiverDependantMutable abstract class R implements ImmutableInterface<@ReceiverDependantMutable Object> {}

0 comments on commit ab8af46

Please sign in to comment.