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. (opprop#8)

Make CompatibilityBEI2.java pass.
  • Loading branch information
xingweitian authored and Haifeng Shi committed Feb 10, 2022
1 parent c4daeb9 commit 67e4661
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 67e4661

Please sign in to comment.