diff options
| author | Loris Cro <kappaloris@gmail.com> | 2022-08-23 15:46:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-23 15:46:26 +0200 |
| commit | d635dcacbf2d8ab8af97e75fda69b66e7b1ea1cf (patch) | |
| tree | f23fc9ac9462b74f3b6cd16dffff1152170d561e /lib/docs | |
| parent | 8c27e7ed916dfdc7d2727ac28c5119a27c45818e (diff) | |
| parent | 76c9ee9b303937aef62f5ad10eab7ff56d607e34 (diff) | |
| download | zig-d635dcacbf2d8ab8af97e75fda69b66e7b1ea1cf.tar.gz zig-d635dcacbf2d8ab8af97e75fda69b66e7b1ea1cf.zip | |
Merge pull request #12542 from der-teufel-programming/compileError-input
autodoc: show compileErrors correctly
Diffstat (limited to 'lib/docs')
| -rw-r--r-- | lib/docs/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/docs/main.js b/lib/docs/main.js index 01d2443a31..5a3572a629 100644 --- a/lib/docs/main.js +++ b/lib/docs/main.js @@ -866,7 +866,7 @@ var zigAnalysis; } case "compileError": { let compileError = expr.compileError; - return compileError; + return "@compileError(" + exprName(zigAnalysis.exprs[compileError], opts) + ")"; } case "enumLiteral": { let literal = expr.enumLiteral; |
