Skip to content

Commit

Permalink
Move expected error to correct line.
Browse files Browse the repository at this point in the history
  • Loading branch information
smillst committed Oct 4, 2024
1 parent b58824e commit 33fda20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checker/tests/mustcall/FunctionalInterfaces.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public void act() {}

public void anonymousClass() {

// :: error: (assignment)
@MustCall({}) Actor a =
// :: error: (assignment)
new Actor() {
public void act() {}
};
Expand Down

0 comments on commit 33fda20

Please sign in to comment.