Skip to content

Commit c4e228d

Browse files
committed
Add ?? operator to the TCK.
1 parent 40f2d1d commit c4e228d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graal-js/src/com.oracle.truffle.js.test.sdk/src/com/oracle/truffle/js/test/sdk/tck/JavaScriptTCKLanguageProvider.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ public Collection<? extends Snippet> createExpressions(final Context context) {
205205
ops.add(createBinaryOperator(context, "&&", ANY, ANY, ANY));
206206
// ||
207207
ops.add(createBinaryOperator(context, "||", ANY, ANY, ANY));
208+
// ??
209+
ops.add(createBinaryOperator(context, "??", ANY, ANY, ANY));
208210
// ==
209211
ops.add(createBinaryOperator(context, "==", TypeDescriptor.BOOLEAN, ANY, ANY));
210212
// !=

0 commit comments

Comments
 (0)