Skip to content

Commit 7ab15ab

Browse files
committed
Genericize LKQL: switch Libadalang.Char to LangkitSupport.CharInterface
This change is basically a simple renaming of Libadalang.Char to LangkitSupport.CharInterface and adaptations to the new interfaces provided by LangkitSupport.
1 parent b2c651a commit 7ab15ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lkql_jit/language/src/main/java/com/adacore/lkql_jit/utils/LKQLTypesHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ else if (javaValue instanceof BigInteger) {
241241
return javaValue;
242242
}
243243
// If the value is a character
244-
else if (javaValue instanceof Libadalang.Char character) {
244+
else if (javaValue instanceof LangkitSupport.CharInterface character) {
245245
return character.toString();
246246
}
247247
// If the source is a symbol

0 commit comments

Comments
 (0)