We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d72c2ae commit f262f1fCopy full SHA for f262f1f
playground/playground_test.js
@@ -44,6 +44,11 @@ if(result.js_code != "") {
44
console.log('-- Playground test output --');
45
console.log(`ReScript version: ${compiler.rescript.version}`);
46
console.log('----');
47
+ if(result.type === "unexpected_error") {
48
+ console.log("UNEXPECTED ERROR");
49
+ console.log(result.msg);
50
+ process.exit(1);
51
+ }
52
if(result.errors && result.errors.length > 0) {
53
console.log("COMPILATION ERROR");
54
for(let error of result.errors) {
0 commit comments