| ... | ... | @@ -1327,7 +1327,7 @@ Happy writing! |
| 1327 | 1327 | case "refPath": { |
| 1328 | 1328 | for (let i = 0; i < expr.refPath.length; i += 1) { |
| 1329 | 1329 | if (i > 0) yield Tok.period; |
| 1330 | | yield* ex(expr.refPath[i]); |
| 1330 | yield* ex(expr.refPath[i], opts); |
| 1331 | 1331 | } |
| 1332 | 1332 | return; |
| 1333 | 1333 | } |
| ... | ... | @@ -2662,6 +2662,10 @@ Happy writing! |
| 2662 | 2662 | resolvedValue.expr.call !== undefined || |
| 2663 | 2663 | resolvedValue.expr.comptimeExpr !== undefined |
| 2664 | 2664 | ) { |
| 2665 | // TODO: we're using the resolved value but |
| 2666 | // not keeping track of how we got there |
| 2667 | // that's important context that should |
| 2668 | // be shown to the user! |
| 2665 | 2669 | domFnProtoCode.innerHTML = renderTokens( |
| 2666 | 2670 | (function*() { |
| 2667 | 2671 | yield Tok.const; |
| ... | ... | @@ -2675,7 +2679,7 @@ Happy writing! |
| 2675 | 2679 | yield Tok.space; |
| 2676 | 2680 | yield Tok.eql; |
| 2677 | 2681 | yield Tok.space; |
| 2678 | | yield* ex(decl.value.expr, {}); |
| 2682 | yield* ex(resolvedValue.expr, {}); |
| 2679 | 2683 | yield Tok.semi; |
| 2680 | 2684 | })()); |
| 2681 | 2685 | } else if (resolvedValue.expr.compileError) { |