You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printf("magic type is not handled by PythonMonkey yet\n");
122
+
errorString = "magic type is not handled by PythonMonkey yet.\n";
121
123
}
122
124
123
-
std::string errorString("pythonmonkey cannot yet convert Javascript value of: ");
125
+
errorString += "pythonmonkey cannot yet convert Javascript value of: ";
124
126
JSString *valToStr = JS::ToString(cx, rval);
125
127
if (!valToStr) { // `JS::ToString` returns `nullptr` for JS symbols, see https://hg.mozilla.org/releases/mozilla-esr102/file/3b574e1/js/src/vm/StringType.cpp#l2208
126
128
// TODO (Tom Tang): Revisit this once we have Symbol coercion support
0 commit comments