Skip to content

Commit 35fe8e8

Browse files
committed
meow
1 parent 8a8d5be commit 35fe8e8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

unicodetools/src/main/java/org/unicode/text/UCD/VersionedSymbolTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ public String parseReference(String text, ParsePosition pos, int limit) {
498498
return text.substring(start, i);
499499
}
500500

501-
private VersionInfo implicitVersion;
501+
public VersionInfo implicitVersion;
502502
private VersionInfo previousVersion;
503503
private boolean requireSuffixForLatest;
504504
private UnicodeProperty.Factory unversionedExtensions;

unicodetools/src/test/java/org/unicode/text/UCD/TestVersionedSymbolTable.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
import org.junit.jupiter.api.AfterEach;
1010
import org.junit.jupiter.api.BeforeEach;
1111
import org.junit.jupiter.api.Test;
12+
import org.unicode.props.IndexUnicodeProperties;
13+
import org.unicode.props.UcdProperty;
1214

1315
/**
1416
* Notice to the maintainer: These tests check that the UnicodeSet property queries are correctly
@@ -175,6 +177,8 @@ void testIdentityAndNullQueries() {
175177
System.err.println("testIdentityAndNullQueries: kIRG_GSource");
176178
assertThatUnicodeSet("[:^kIRG_GSource=@none@:]").contains("喵").doesNotContain("𓃠");
177179
System.err.println("testIdentityAndNullQueries: bpb…");
180+
System.err.println("bpb(U+2E62) = " + IndexUnicodeProperties.make().getProperty("Bidi_Paired_Bracket").getValue(0x2E62));
181+
System.err.println(((VersionedSymbolTable)UnicodeSet.getDefaultXSymbolTable()).implicitVersion);
178182
assertThatUnicodeSet("\\p{Bidi_Paired_Bracket=@none@}")
179183
.isEqualToUnicodeSet("\\p{Bidi_Paired_Bracket_Type=None}");
180184
System.err.println("testIdentityAndNullQueries: done.");

0 commit comments

Comments
 (0)