Skip to content

Commit b8e506b

Browse files
committed
Merge branch 'topic/lkql_jit/fix_is_equivalent_method' into 'master'
Remove the 'property' qualification for the 'Token.is_equivalent' method Closes #513 See merge request eng/libadalang/langkit-query-language!497
2 parents 4823f2d + fc4098a commit b8e506b

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)