| 998 | return; |
| 999 | } |
| 1000 | auto symbolId = hermes::vm::stringToSymbolID(*_runtime, std::move(strResult.getValue())); |
| 1001 | if (!checkException(symbolId.getStatus(), exceptionTracker)) { |
| 1002 | return; |
| 1003 | } |
| 1004 | |
| 1005 | propertyName = toPropertyNameRef(symbolId.getValue()); |
| 1006 | } |
| 1007 | |
| 1008 | if (!propertyName.empty()) { |
| 1009 | if (!visitor.visitPropertyName(*this, object, propertyName.get(), exceptionTracker)) { |
| 1010 | return; |
| 1011 | } |
| 1012 | } |
| 1013 | } |
| 1014 | } |
| 1015 | |
| 1016 | static hermes::vm::CallResult<hermes::vm::PseudoHandle<hermes::vm::StringPrimitive>> toString( |
no test coverage detected