Skip to content

Commit 88201f2

Browse files
authoredDec 10, 2019
Merge pull request #4085 from Conduitry/gh-4077
fix bitmask overflow when using slotted components
2 parents 85c1829 + f8a8c06 commit 88201f2

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed
 

‎src/compiler/compile/render_dom/Renderer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ export default class Renderer {
8686
null
8787
);
8888

89-
this.context_overflow = this.context.length > 31;
90-
9189
// TODO messy
9290
this.blocks.forEach(block => {
9391
if (block instanceof Block) {
@@ -99,6 +97,8 @@ export default class Renderer {
9997

10098
this.fragment.render(this.block, null, x`#nodes` as Identifier);
10199

100+
this.context_overflow = this.context.length > 31;
101+
102102
this.context.forEach(member => {
103103
const { variable } = member;
104104
if (variable) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default {
2+
error: `A is not defined`,
3+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<script>
2+
let x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21, x22, x23, x24, x25, x26, x27, x28, x29, x30, x31;
3+
</script>
4+
<A>foo</A>

0 commit comments

Comments
 (0)
Please sign in to comment.