Skip to content

Commit c7daef7

Browse files
committed
mark todo cleanup with the same identifier
1 parent fc2a3c4 commit c7daef7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/compiler/compile/render_dom/Renderer.ts

+1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ export default class Renderer {
230230
return bitmask;
231231
};
232232

233+
// TODO: context-overflow make it less gross
233234
return {
234235
// Using a ParenthesizedExpression allows us to create
235236
// the expression lazily. TODO would be better if

src/compiler/compile/render_dom/wrappers/IfBlock.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,8 @@ export default class IfBlockWrapper extends Wrapper {
592592
const _this = this;
593593
const array = x`[-1]`;
594594
const val = x`-1`;
595-
595+
596+
// TODO: context-overflow make it less gross
596597
return {
597598
...array,
598599
...val,

src/compiler/compile/render_dom/wrappers/shared/get_slot_definition.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function get_slot_definition(block: Block, scope: TemplateScope, lets: Le
6363
const { context_lookup } = block.renderer;
6464

6565
// i am well aware that this code is gross
66-
// TODO make it less gross
66+
// TODO: context-overflow make it less gross
6767
const changes = {
6868
type: 'ParenthesizedExpression',
6969
get expression() {

0 commit comments

Comments
 (0)