Skip to content

Commit fc4098a

Browse files
committed
Remove the 'property' qualification for the 'Token.is_equivalent' method
1 parent 4823f2d commit fc4098a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lkql_jit/language/src/main/java/com/adacore/lkql_jit/built_ins/methods/TokenMethods.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ public long onToken(Token t) {
6060

6161
@BuiltInMethod(
6262
name = "is_equivalent",
63-
doc = "Return whether two tokens are structurally equivalent",
64-
isProperty = true
63+
doc = "Return whether two tokens are structurally equivalent"
6564
)
6665
abstract static class IsEquivalentExpr extends BuiltInBody {
6766

user_manual/generated/std.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ Methods for `Token`
645645

646646
Return a string representation of an object
647647

648-
.. method:: Token.is_equivalent(this)
648+
.. method:: Token.is_equivalent(this, other)
649649

650650
Return whether two tokens are structurally equivalent
651651

0 commit comments

Comments
 (0)