Skip to content

Fixed crash in hasVisibleDeclarations related to binding elements - #61352

Merged
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
Andarist:fix/crash-computed-properties
Jun 30, 2025
Merged

Fixed crash in hasVisibleDeclarations related to binding elements#61352
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
Andarist:fix/crash-computed-properties

Conversation

@Andarist

Copy link
Copy Markdown
Contributor

fixes#61351

@github-project-automationgithub-project-automationBot moved this to Not started in PR BacklogMar 4, 2025
@typescript-botTypeScript Bot (typescript-bot) added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Mar 4, 2025
@RyanCavanaugh

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) test it

@typescript-bot

TypeScript Bot (typescript-bot) commented Jun 17, 2025

Copy link
Copy Markdown
Contributor

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

CommandStatusResults
test top400✅ Started✅ Results
user test this✅ Started✅ Results
run dt✅ Started✅ Results
perf test this faster✅ Started❌ Results

@typescript-bot

Copy link
Copy Markdown
Contributor

Hey Ryan Cavanaugh (@RyanCavanaugh), the results of running the DT tests are ready.

Everything looks the same!

You can check the log here.

@typescript-bot

Copy link
Copy Markdown
Contributor

Ryan Cavanaugh (@RyanCavanaugh) Here are the results of running the user tests with tsc comparing main and refs/pull/61352/merge:

Everything looks good!

@typescript-bot

Copy link
Copy Markdown
Contributor

Ryan Cavanaugh (@RyanCavanaugh), the perf run you requested failed. You can check the log here.

@typescript-bot

Copy link
Copy Markdown
Contributor

Ryan Cavanaugh (@RyanCavanaugh) Here are the results of running the top 400 repos with tsc comparing main and refs/pull/61352/merge:

Everything looks good!

@bjornua

Bjørn Arnholtz (bjornua) commented Jun 23, 2025

Copy link
Copy Markdown

Ryan Cavanaugh (@RyanCavanaugh) Looks like the perf test this faster command fails because @electron/get@4.0.1 requires Node.js version >=22.12.0, but the Docker container is running Node.js 20.19.2.

Another example of a PR where it fails: #61888. Seems to be a general CI issue

@jakebailey

Copy link
Copy Markdown
Member

I've already fixed it.

TypeScript Bot (@typescript-bot) perf test this faster

@typescript-bot

TypeScript Bot (typescript-bot) commented Jun 23, 2025

Copy link
Copy Markdown
Contributor

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

CommandStatusResults
perf test this faster✅ Started👀 Results

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey)
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
MetricbaselineprDeltaBestWorstp-value
Compiler-Unions - node (v18.15.0, x64)
Errors3434~~~p=1.000 n=6
Symbols62,37062,370~~~p=1.000 n=6
Types50,38650,386~~~p=1.000 n=6
Memory used193,500k (± 0.76%)195,924k (± 0.75%)+2,424k (+ 1.25%)192,913k196,566kp=0.020 n=6
Parse Time1.31s1.31s (± 0.39%)~1.31s1.32sp=0.174 n=6
Bind Time0.73s0.73s~~~p=1.000 n=6
Check Time9.70s (± 0.62%)9.69s (± 0.47%)~9.65s9.78sp=0.936 n=6
Emit Time2.75s (± 0.80%)2.74s (± 0.55%)~2.73s2.77sp=0.618 n=6
Total Time14.48s (± 0.53%)14.48s (± 0.32%)~14.42s14.56sp=0.810 n=6
angular-1 - node (v18.15.0, x64)
Errors5656~~~p=1.000 n=6
Symbols948,750948,750~~~p=1.000 n=6
Types410,846410,846~~~p=1.000 n=6
Memory used1,224,604k (± 0.01%)1,224,644k (± 0.00%)~1,224,572k1,224,706kp=0.471 n=6
Parse Time6.60s (± 0.50%)6.57s (± 0.36%)~6.53s6.60sp=0.192 n=6
Bind Time1.88s (± 0.43%)1.88s (± 0.58%)~1.86s1.89sp=0.666 n=6
Check Time31.77s (± 0.29%)31.89s (± 0.25%)+0.12s (+ 0.37%)31.78s32.00sp=0.043 n=6
Emit Time14.89s (± 0.44%)14.89s (± 0.68%)~14.74s15.02sp=1.000 n=6
Total Time55.14s (± 0.22%)55.23s (± 0.19%)~55.10s55.38sp=0.296 n=6
mui-docs - node (v18.15.0, x64)
Errors00~~~p=1.000 n=6
Symbols2,509,1692,509,169~~~p=1.000 n=6
Types892,704892,704~~~p=1.000 n=6
Memory used2,803,926k (± 0.00%)2,803,917k (± 0.00%)~2,803,863k2,803,978kp=1.000 n=6
Parse Time8.86s (± 0.27%)8.84s (± 0.36%)~8.80s8.89sp=0.146 n=6
Bind Time2.23s (± 0.28%)2.24s (± 0.61%)~2.22s2.26sp=0.388 n=6
Check Time84.10s (± 0.23%)84.32s (± 0.23%)~84.00s84.56sp=0.128 n=6
Emit Time0.30s (± 2.11%)0.30s~~~p=1.000 n=6
Total Time95.49s (± 0.20%)95.69s (± 0.20%)~95.38s95.88sp=0.109 n=6
self-build-src - node (v18.15.0, x64)
Errors00~~~p=1.000 n=6
Symbols1,227,1261,227,127+1 (+ 0.00%)~~p=0.001 n=6
Types267,408267,407-1 (- 0.00%)~~p=0.001 n=6
Memory used2,545,041k (±11.98%)2,362,132k (± 0.02%)🟩-182,908k (- 7.19%)2,361,620k2,362,668kp=0.020 n=6
Parse Time5.25s (± 1.06%)5.20s (± 1.12%)~5.14s5.29sp=0.173 n=6
Bind Time1.79s (± 1.08%)1.81s (± 0.81%)~1.79s1.83sp=0.084 n=6
Check Time35.10s (± 0.67%)35.41s (± 0.79%)~35.07s35.70sp=0.093 n=6
Emit Time2.99s (± 1.35%)2.99s (± 0.95%)~2.95s3.03sp=1.000 n=6
Total Time45.15s (± 0.61%)45.42s (± 0.73%)~45.02s45.79sp=0.378 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors00~~~p=1.000 n=6
Symbols1,227,1261,227,127+1 (+ 0.00%)~~p=0.001 n=6
Types267,408267,407-1 (- 0.00%)~~p=0.001 n=6
Memory used2,796,184k (±14.27%)3,038,920k (± 9.76%)~2,432,817k3,161,172kp=0.810 n=6
Parse Time6.83s (± 1.52%)6.85s (± 0.92%)~6.74s6.92sp=0.873 n=6
Bind Time2.19s (± 1.87%)2.14s (± 1.08%)-0.05s (- 2.21%)2.11s2.17sp=0.025 n=6
Check Time42.69s (± 0.81%)42.72s (± 0.41%)~42.50s42.91sp=0.575 n=6
Emit Time3.49s (± 2.67%)3.45s (± 1.40%)~3.38s3.51sp=0.471 n=6
Total Time55.21s (± 0.82%)55.17s (± 0.43%)~54.84s55.44sp=0.298 n=6
self-compiler - node (v18.15.0, x64)
Errors00~~~p=1.000 n=6
Symbols262,474262,475+1 (+ 0.00%)~~p=0.001 n=6
Types107,135107,134-1 (- 0.00%)~~p=0.001 n=6
Memory used441,708k (± 0.02%)441,704k (± 0.02%)~441,508k441,785kp=0.936 n=6
Parse Time3.52s (± 0.73%)3.54s (± 0.68%)~3.51s3.58sp=0.258 n=6
Bind Time1.32s (± 0.62%)1.33s (± 1.03%)~1.32s1.36sp=0.121 n=6
Check Time18.85s (± 0.42%)18.85s (± 0.18%)~18.80s18.88sp=0.748 n=6
Emit Time1.51s (± 0.68%)1.53s (± 0.79%)~1.51s1.54sp=0.084 n=6
Total Time25.21s (± 0.33%)25.25s (± 0.21%)~25.17s25.31sp=0.199 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors7171~~~p=1.000 n=6
Symbols225,327225,327~~~p=1.000 n=6
Types94,28894,288~~~p=1.000 n=6
Memory used371,169k (± 0.05%)371,138k (± 0.04%)~371,021k371,434kp=0.936 n=6
Parse Time2.88s (± 0.96%)2.89s (± 0.40%)~2.87s2.90sp=0.250 n=6
Bind Time1.61s (± 1.16%)1.60s (± 1.29%)~1.58s1.64sp=0.569 n=6
Check Time16.35s (± 0.30%)16.34s (± 0.34%)~16.25s16.39sp=1.000 n=6
Emit Time0.00s (±244.70%)0.00s~~~p=0.405 n=6
Total Time20.84s (± 0.31%)20.84s (± 0.28%)~20.72s20.88sp=0.936 n=6
vscode - node (v18.15.0, x64)
Errors3333~~~p=1.000 n=6
Symbols3,479,2093,479,209~~~p=1.000 n=6
Types1,170,4661,170,466~~~p=1.000 n=6
Memory used3,528,055k (± 0.01%)3,528,186k (± 0.00%)~3,527,993k3,528,449kp=0.298 n=6
Parse Time18.55s (± 0.37%)18.53s (± 0.52%)~18.43s18.67sp=0.689 n=6
Bind Time5.97s (± 0.98%)5.96s (± 0.84%)~5.89s6.04sp=0.809 n=6
Check Time115.77s (± 1.76%)114.06s (± 1.35%)~113.04s117.14sp=0.128 n=6
Emit Time35.99s (± 2.04%)36.03s (± 2.17%)~35.61s37.62sp=0.936 n=6
Total Time176.28s (± 1.42%)174.58s (± 1.00%)~173.17s177.54sp=0.173 n=6
webpack - node (v18.15.0, x64)
Errors22~~~p=1.000 n=6
Symbols320,007320,007~~~p=1.000 n=6
Types140,371140,371~~~p=1.000 n=6
Memory used474,255k (± 0.03%)474,283k (± 0.03%)~474,117k474,520kp=1.000 n=6
Parse Time4.33s (± 0.65%)4.34s (± 0.74%)~4.28s4.36sp=0.681 n=6
Bind Time1.76s (± 1.47%)1.78s (± 1.39%)~1.74s1.81sp=0.465 n=6
Check Time20.74s (± 0.41%)20.81s (± 0.53%)~20.68s20.95sp=0.575 n=6
Emit Time0.00s0.00s~~~p=1.000 n=6
Total Time26.84s (± 0.38%)26.92s (± 0.45%)~26.73s27.06sp=0.199 n=6
xstate-main - node (v18.15.0, x64)
Errors3030~~~p=1.000 n=6
Symbols667,374667,374~~~p=1.000 n=6
Types198,751198,751~~~p=1.000 n=6
Memory used570,111k (± 0.01%)570,135k (± 0.01%)~570,058k570,284kp=0.689 n=6
Parse Time4.42s (± 0.65%)4.43s (± 0.82%)~4.38s4.47sp=0.687 n=6
Bind Time1.32s (± 0.88%)1.33s (± 1.13%)~1.31s1.35sp=0.618 n=6
Check Time20.46s (± 0.48%)20.44s (± 0.29%)~20.38s20.53sp=0.575 n=6
Emit Time0.00s0.00s~~~p=1.000 n=6
Total Time26.20s (± 0.37%)26.20s (± 0.38%)~26.10s26.30sp=1.000 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)
BenchmarkNameIterations
Currentpr6
Baselinebaseline6

Developer Information:

Download Benchmarks

@github-project-automationgithub-project-automationBot moved this from Not started to Needs merge in PR BacklogJun 30, 2025
@jakebailey
Jake Bailey (jakebailey) merged commit 2ea2ecf into microsoft:mainJun 30, 2025
@github-project-automationgithub-project-automationBot moved this from Needs merge to Done in PR BacklogJun 30, 2025
@microsoftMicrosoft (microsoft) locked as resolved and limited conversation to collaborators Jan 7, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Uncommitted BugPR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

TS 5.8 TypeError: Cannot read properties of undefined (reading 'kind')

6 participants

@Andarist@RyanCavanaugh@typescript-bot@bjornua@jakebailey@andrewbranch