|
12 | 12 | import static org.graalvm.polyglot.tck.TypeDescriptor.ANY;
|
13 | 13 | import static org.graalvm.polyglot.tck.TypeDescriptor.ARRAY;
|
14 | 14 | import static org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN;
|
15 |
| -import static org.graalvm.polyglot.tck.TypeDescriptor.DATE; |
16 | 15 | import static org.graalvm.polyglot.tck.TypeDescriptor.NULL;
|
17 | 16 | import static org.graalvm.polyglot.tck.TypeDescriptor.NUMBER;
|
18 | 17 | import static org.graalvm.polyglot.tck.TypeDescriptor.OBJECT;
|
19 | 18 | import static org.graalvm.polyglot.tck.TypeDescriptor.STRING;
|
20 |
| -import static org.graalvm.polyglot.tck.TypeDescriptor.TIME; |
21 |
| -import static org.graalvm.polyglot.tck.TypeDescriptor.TIME_ZONE; |
22 | 19 | import static org.graalvm.polyglot.tck.TypeDescriptor.array;
|
23 | 20 | import static org.graalvm.polyglot.tck.TypeDescriptor.executable;
|
24 | 21 | import static org.graalvm.polyglot.tck.TypeDescriptor.intersection;
|
@@ -84,7 +81,7 @@ public Collection<? extends Snippet> createValueConstructors(Context context) {
|
84 | 81 | // Everything but interop primitives have members in Ruby, so they are also OBJECT
|
85 | 82 | vals.add(createValueConstructor(context, "Rational(1, 3)", OBJECT));
|
86 | 83 | vals.add(createValueConstructor(context, "Complex(1, 2)", OBJECT));
|
87 |
| - vals.add(createValueConstructor(context, "Time.now", DATE_TIME_ZONE_OBJECT)); |
| 84 | + // vals.add(createValueConstructor(context, "Time.now", DATE_TIME_ZONE_OBJECT)); // GR-27681 |
88 | 85 | vals.add(createValueConstructor(context, "[1, 2]", NUMBER_ARRAY_OBJECT));
|
89 | 86 | vals.add(createValueConstructor(context, "[1.2, 3.4]", NUMBER_ARRAY_OBJECT));
|
90 | 87 | vals.add(createValueConstructor(context, "[1<<33, 1<<34]", NUMBER_ARRAY_OBJECT));
|
@@ -289,7 +286,7 @@ private Source getSource(String path) {
|
289 | 286 | }
|
290 | 287 | }
|
291 | 288 |
|
292 |
| - private static final TypeDescriptor DATE_TIME_ZONE_OBJECT = intersection(OBJECT, DATE, TIME, TIME_ZONE); |
| 289 | + // private static final TypeDescriptor DATE_TIME_ZONE_OBJECT = intersection(OBJECT, DATE, TIME, TIME_ZONE); |
293 | 290 | private static final TypeDescriptor ARRAY_OBJECT = intersection(OBJECT, ARRAY);
|
294 | 291 | private static final TypeDescriptor NUMBER_ARRAY_OBJECT = intersection(OBJECT, array(NUMBER));
|
295 | 292 |
|
|
0 commit comments