Skip to content

Commit

Permalink
fmt: IntelliJ has a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed Jan 20, 2025
1 parent 0b48848 commit bac5440
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions base/src/main/java/org/aya/resolve/visitor/ExprResolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,7 @@ private void addReference(@NotNull DefVar<?, ?> defVar) {

/// Resolve a [Pattern]
///
/// @param telescope the telescope of the clause which the {@param pattern} lives,
/// it is safe to supply an [ImmutableSeq#empty()]
/// if there is no telescope or the user cannot refer to it.
/// @param telescope the telescope of the clause which the {@param pattern} lives, can be [ImmutableSeq#empty()].
public @NotNull WithPos<Pattern> resolvePattern(@NotNull WithPos<Pattern> pattern, @NotNull ImmutableSeq<LocalVar> telescope, MutableValue<Context> ctx) {
var resolver = new PatternResolver(ctx.get(), telescope, this::addReference);
var result = pattern.descent(resolver);
Expand Down

0 comments on commit bac5440

Please sign in to comment.