commit 170de5ecae27373149db247ca0cff464e090e31b (tree)
parent cb5a5ebb200c6e7f87178e26dac453e8c91948d7
Author: Henry Wu <hywu925@gmail.com>
Date: Mon, 28 Oct 2019 17:07:55 -0700
generated docs: log trace instead of error
When the error occurred for getValueText it could potentially omit
useful documentation since the page stops rendering.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/special/docs/main.js b/lib/std/special/docs/main.js
@@ -543,7 +543,7 @@
return value + "";
}
default:
- throw new Error("TODO implement getValueText for this type");
+ console.trace("TODO implement getValueText for this type:", zigAnalysis.typeKinds[typeObj.kind]);
}
}