We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30e6521 commit 371d079Copy full SHA for 371d079
src/cpp/src/tagged_value.cpp
@@ -31,11 +31,6 @@ Class *TaggedValue::getClass() const {
31
return ClassUtils::getUndefinedObjectClass();
32
} else if (isPointer()) {
33
try {
34
- // Strings are byte-indexable and detected via utility
35
- if (StringUtils::isString(*this)) {
36
- return ClassUtils::getStringClass();
37
- }
38
- // Otherwise use the object's class directly
39
Object *obj = asObject();
40
return obj ? obj->getClass() : nullptr;
41
} catch (...) {
src/cpp/tests/expression_test_runner
0 Bytes
0 commit comments