Skip to content

Commit

Permalink
fix: Match fingerprint before delegating the match property
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Nov 1, 2024
1 parent 49f4570 commit 5d996de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class BytecodePatchContext internal constructor(private val config: PatcherConfi
*
* @throws IllegalStateException If the [Fingerprint] has not been matched.
*/
operator fun Fingerprint.getValue(nothing: Nothing?, property: KProperty<*>): Match = _match
operator fun Fingerprint.getValue(nothing: Nothing?, property: KProperty<*>): Match = match
?: throw PatchException("No fingerprint match to delegate to \"${property.name}\".")

/**
Expand Down

0 comments on commit 5d996de

Please # to comment.