Commit 667eb98
committed
BUG#36211402 Avoid field assignment on "super"
TypeScript/JavaScript uses prototype-based inheritance where fields are
stored in a flat structure and not in the scope of a particular class
definition in the hierarchy. This means that a field specified by a
parent class can be replaced by one specified by one of the children.
To signal this behaviour, starting in v5.3.0, the TypeScript compiler
prevents a class from assigning values to fields specified by a parent
class using "super"
(microsoft/TypeScript#54056).
This patch, upgrades the TypeScript compiler to the latest version and
fixes the remaining issues related to the topic mentioned above that
now result in compiler errors. Additionally, it also updates the launch
task that runs the compiler to ensure it uses a local version of the
compiler, as specified by the dependency graph of the VSCode Extension
package.
Change-Id: Ib3ef774028ec4587c6b8e5eaa2eb395188e0d5a11 parent 39e2663 commit 667eb98
File tree
7 files changed
+17
-12
lines changed- gui
- extension
- .vscode
- frontend
- src/parsing/python
- mrs_plugin/sdk
7 files changed
+17
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1636 | 1636 | | |
1637 | 1637 | | |
1638 | 1638 | | |
1639 | | - | |
| 1639 | + | |
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
0 commit comments