Commit d749685
authored
fix: rework directive name handling (#9470)
* move snapshot test to a runtime test
* handle dynamic cases
* huh
---------
Co-authored-by: Rich Harris <[email protected]>1 parent 73e8820 commit d749685
File tree
7 files changed
+42
-168
lines changed- packages/svelte
- src/compiler/phases/3-transform/client/visitors
- tests
- runtime-runes/samples/directives-with-member-access
- snapshot
- samples/directives-with-member-access
- _expected/client
7 files changed
+42
-168
lines changedLines changed: 17 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | | - | |
| 83 | + | |
82 | 84 | | |
83 | | - | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | | - | |
| 88 | + | |
| 89 | + | |
86 | 90 | | |
87 | | - | |
88 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
89 | 94 | | |
90 | | - | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
1697 | 1703 | | |
1698 | 1704 | | |
1699 | 1705 | | |
1700 | | - | |
| 1706 | + | |
1701 | 1707 | | |
1702 | 1708 | | |
1703 | 1709 | | |
| |||
1721 | 1727 | | |
1722 | 1728 | | |
1723 | 1729 | | |
1724 | | - | |
| 1730 | + | |
1725 | 1731 | | |
1726 | 1732 | | |
1727 | 1733 | | |
| |||
2445 | 2451 | | |
2446 | 2452 | | |
2447 | 2453 | | |
2448 | | - | |
| 2454 | + | |
2449 | 2455 | | |
2450 | 2456 | | |
2451 | 2457 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 0 additions & 108 deletions
This file was deleted.
Lines changed: 0 additions & 40 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 14 | + | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
| |||
0 commit comments