Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on override used on dynamically named class members #60691

Merged

Conversation

Andarist
Copy link
Contributor

@Andarist Andarist commented Dec 5, 2024

closes #60637 cc @weswigham

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Dec 5, 2024
@Andarist Andarist force-pushed the error-on-override-with-dynamic-names branch from f334978 to b5f37ca Compare December 5, 2024 10:31
@Andarist Andarist force-pushed the error-on-override-with-dynamic-names branch from b5f37ca to e3d4463 Compare December 5, 2024 10:55
@weswigham weswigham added the Breaking Change Would introduce errors in existing code label Dec 5, 2024
@weswigham weswigham added this to the TypeScript 5.8.0 milestone Dec 5, 2024
@weswigham
Copy link
Member

@typescript-bot test it

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 5, 2024

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
test top400 ✅ Started ✅ Results
user test this ✅ Started ✅ Results
run dt ✅ Started ✅ Results
perf test this faster ✅ Started 👀 Results

@typescript-bot
Copy link
Collaborator

@weswigham Here are the results of running the user tests with tsc comparing main and refs/pull/60691/merge:

Everything looks good!

@typescript-bot
Copy link
Collaborator

Hey @weswigham, the results of running the DT tests are ready.

Everything looks the same!

You can check the log here.

@typescript-bot
Copy link
Collaborator

@weswigham
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-Unions - node (v18.15.0, x64)
Errors 34 34 ~ ~ ~ p=1.000 n=6
Symbols 62,363 62,363 ~ ~ ~ p=1.000 n=6
Types 50,395 50,395 ~ ~ ~ p=1.000 n=6
Memory used 194,841k (± 1.02%) 194,836k (± 1.01%) ~ 193,019k 196,696k p=0.936 n=6
Parse Time 1.30s (± 0.79%) 1.30s (± 1.02%) ~ 1.29s 1.32s p=0.804 n=6
Bind Time 0.72s 0.72s ~ ~ ~ p=1.000 n=6
Check Time 9.79s (± 0.56%) 9.76s (± 0.46%) ~ 9.72s 9.83s p=0.335 n=6
Emit Time 2.73s (± 0.85%) 2.72s (± 0.46%) ~ 2.71s 2.74s p=0.615 n=6
Total Time 14.54s (± 0.36%) 14.51s (± 0.42%) ~ 14.44s 14.59s p=0.335 n=6
angular-1 - node (v18.15.0, x64)
Errors 37 37 ~ ~ ~ p=1.000 n=6
Symbols 947,936 947,936 ~ ~ ~ p=1.000 n=6
Types 410,955 410,955 ~ ~ ~ p=1.000 n=6
Memory used 1,225,804k (± 0.00%) 1,225,814k (± 0.00%) ~ 1,225,740k 1,225,916k p=0.936 n=6
Parse Time 6.67s (± 0.52%) 6.66s (± 0.51%) ~ 6.60s 6.69s p=0.683 n=6
Bind Time 1.88s (± 0.27%) 1.89s (± 0.40%) ~ 1.88s 1.90s p=0.069 n=6
Check Time 32.06s (± 0.32%) 31.98s (± 0.16%) ~ 31.91s 32.06s p=0.199 n=6
Emit Time 15.20s (± 0.23%) 15.15s (± 0.21%) -0.05s (- 0.33%) 15.11s 15.19s p=0.043 n=6
Total Time 55.82s (± 0.22%) 55.68s (± 0.14%) -0.14s (- 0.25%) 55.58s 55.78s p=0.045 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,501,823 2,501,823 ~ ~ ~ p=1.000 n=6
Types 909,645 909,645 ~ ~ ~ p=1.000 n=6
Memory used 2,319,320k (± 0.00%) 2,319,310k (± 0.00%) ~ 2,319,284k 2,319,326k p=0.422 n=6
Parse Time 9.28s (± 0.33%) 9.30s (± 0.38%) ~ 9.27s 9.36s p=0.366 n=6
Bind Time 2.17s (± 0.64%) 2.16s (± 0.80%) ~ 2.14s 2.18s p=0.739 n=6
Check Time 74.82s (± 0.55%) 74.83s (± 0.31%) ~ 74.59s 75.14s p=0.748 n=6
Emit Time 0.28s 0.28s (± 3.19%) ~ 0.27s 0.29s p=1.000 n=6
Total Time 86.55s (± 0.46%) 86.58s (± 0.27%) ~ 86.32s 86.87s p=0.689 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,225,304 1,225,330 +26 (+ 0.00%) ~ ~ p=0.001 n=6
Types 266,555 266,569 +14 (+ 0.01%) ~ ~ p=0.001 n=6
Memory used 2,354,508k (± 0.02%) 2,354,273k (± 0.02%) ~ 2,353,931k 2,355,025k p=0.298 n=6
Parse Time 5.20s (± 0.63%) 5.24s (± 1.12%) ~ 5.15s 5.30s p=0.336 n=6
Bind Time 1.77s (± 0.66%) 1.78s (± 0.83%) ~ 1.76s 1.80s p=0.324 n=6
Check Time 35.26s (± 0.27%) 35.24s (± 0.36%) ~ 35.04s 35.37s p=1.000 n=6
Emit Time 2.94s (± 2.10%) 2.96s (± 1.42%) ~ 2.93s 3.04s p=1.000 n=6
Total Time 45.19s (± 0.23%) 45.23s (± 0.34%) ~ 45.03s 45.39s p=0.575 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,225,304 1,225,330 +26 (+ 0.00%) ~ ~ p=0.001 n=6
Types 266,555 266,569 +14 (+ 0.01%) ~ ~ p=0.001 n=6
Memory used 3,029,108k (± 9.78%) 2,935,143k (±11.48%) ~ 2,425,200k 3,150,920k p=1.000 n=6
Parse Time 6.97s (± 1.31%) 6.95s (± 1.72%) ~ 6.78s 7.08s p=0.872 n=6
Bind Time 2.17s (± 0.69%) 2.18s (± 1.53%) ~ 2.15s 2.23s p=1.000 n=6
Check Time 42.76s (± 0.58%) 42.74s (± 0.48%) ~ 42.37s 42.88s p=1.000 n=6
Emit Time 3.52s (± 1.86%) 3.49s (± 2.62%) ~ 3.40s 3.61s p=0.575 n=6
Total Time 55.42s (± 0.51%) 55.35s (± 0.48%) ~ 54.88s 55.55s p=0.810 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 262,265 262,269 +4 (+ 0.00%) ~ ~ p=0.001 n=6
Types 106,616 106,628 +12 (+ 0.01%) ~ ~ p=0.001 n=6
Memory used 439,853k (± 0.01%) 439,902k (± 0.02%) ~ 439,767k 440,072k p=0.298 n=6
Parse Time 3.54s (± 0.68%) 3.54s (± 0.73%) ~ 3.50s 3.57s p=0.518 n=6
Bind Time 1.32s (± 0.78%) 1.31s (± 0.93%) ~ 1.30s 1.33s p=0.153 n=6
Check Time 18.95s (± 0.35%) 18.94s (± 0.36%) ~ 18.86s 19.01s p=0.686 n=6
Emit Time 1.53s (± 1.15%) 1.53s (± 0.49%) ~ 1.52s 1.54s p=0.493 n=6
Total Time 25.34s (± 0.27%) 25.32s (± 0.28%) ~ 25.21s 25.40s p=0.689 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 70 70 ~ ~ ~ p=1.000 n=6
Symbols 226,062 226,062 ~ ~ ~ p=1.000 n=6
Types 94,488 94,488 ~ ~ ~ p=1.000 n=6
Memory used 371,585k (± 0.02%) 371,715k (± 0.09%) ~ 371,518k 372,370k p=0.936 n=6
Parse Time 2.91s (± 0.42%) 2.91s (± 1.06%) ~ 2.86s 2.95s p=0.681 n=6
Bind Time 1.60s (± 0.86%) 1.59s (± 1.77%) ~ 1.56s 1.64s p=0.252 n=6
Check Time 16.48s (± 0.49%) 16.48s (± 0.15%) ~ 16.46s 16.53s p=0.872 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 20.99s (± 0.47%) 20.98s (± 0.18%) ~ 20.91s 21.02s p=1.000 n=6
vscode - node (v18.15.0, x64)
Errors 3 3 ~ ~ ~ p=1.000 n=6
Symbols 3,197,659 3,197,659 ~ ~ ~ p=1.000 n=6
Types 1,099,203 1,099,203 ~ ~ ~ p=1.000 n=6
Memory used 3,271,515k (± 0.01%) 3,271,427k (± 0.01%) ~ 3,271,102k 3,271,994k p=0.378 n=6
Parse Time 14.11s (± 0.28%) 14.13s (± 0.74%) ~ 14.00s 14.25s p=0.575 n=6
Bind Time 4.53s (± 0.43%) 4.57s (± 2.20%) ~ 4.48s 4.76s p=0.627 n=6
Check Time 87.61s (± 1.59%) 88.28s (± 2.01%) ~ 86.45s 90.16s p=0.575 n=6
Emit Time 28.24s (± 2.46%) 28.17s (± 2.63%) ~ 27.37s 28.96s p=1.000 n=6
Total Time 134.49s (± 0.55%) 135.15s (± 0.83%) ~ 133.79s 136.53s p=0.378 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 288,747 288,747 ~ ~ ~ p=1.000 n=6
Types 117,158 117,158 ~ ~ ~ p=1.000 n=6
Memory used 440,977k (± 0.03%) 441,040k (± 0.03%) ~ 440,887k 441,261k p=0.471 n=6
Parse Time 4.07s (± 0.29%) 4.09s (± 0.97%) ~ 4.05s 4.16s p=0.568 n=6
Bind Time 1.78s (± 2.12%) 1.76s (± 1.11%) ~ 1.73s 1.78s p=0.089 n=6
Check Time 18.83s (± 0.58%) 18.89s (± 0.41%) ~ 18.77s 18.98s p=0.298 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.68s (± 0.57%) 24.75s (± 0.43%) ~ 24.62s 24.92s p=0.520 n=6
xstate-main - node (v18.15.0, x64)
Errors 5 5 ~ ~ ~ p=1.000 n=6
Symbols 552,389 552,389 ~ ~ ~ p=1.000 n=6
Types 185,093 185,093 ~ ~ ~ p=1.000 n=6
Memory used 492,501k (± 0.00%) 492,508k (± 0.01%) ~ 492,441k 492,553k p=0.575 n=6
Parse Time 3.41s (± 1.28%) 3.42s (± 0.86%) ~ 3.39s 3.47s p=0.685 n=6
Bind Time 1.18s (± 1.17%) 1.17s (± 1.86%) ~ 1.14s 1.19s p=0.413 n=6
Check Time 19.45s (± 0.19%) 19.47s (± 0.46%) ~ 19.37s 19.62s p=1.000 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.04s (± 0.19%) 24.05s (± 0.49%) ~ 23.95s 24.28s p=0.686 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Compiler-Unions - node (v18.15.0, x64)
  • angular-1 - node (v18.15.0, x64)
  • mui-docs - node (v18.15.0, x64)
  • self-build-src - node (v18.15.0, x64)
  • self-build-src-public-api - node (v18.15.0, x64)
  • self-compiler - node (v18.15.0, x64)
  • ts-pre-modules - node (v18.15.0, x64)
  • vscode - node (v18.15.0, x64)
  • webpack - node (v18.15.0, x64)
  • xstate-main - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Developer Information:

Download Benchmarks

@typescript-bot
Copy link
Collaborator

@weswigham Here are the results of running the top 400 repos with tsc comparing main and refs/pull/60691/merge:

Everything looks good!

@weswigham weswigham merged commit 239a2a9 into microsoft:main Dec 6, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking Change Would introduce errors in existing code For Backlog Bug PRs that fix a backlog bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Late bindable index signatures on classes vs override and noImplicitOverride
3 participants