| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:b67f54d1-0300-0268-1cdd-25440a556009 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C018:1D094D:26D96C:343AAB:6AFD468F |
| html-safe-nonce | 2465ad4cac6b777c98f8b9ae4f37a6aa44e9014842a4e4d1d95fba36e25cf503 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDE4OjFEMDk0RDoyNkQ5NkM6MzQzQUFCOjZBRkQ0NjhGIiwidmlzaXRvcl9pZCI6Ijc1MTc0ODIxMjc1NjcxNzczNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a389e5a3c59123d043b50fe88c87fb4820d81a1c658df157a43f8f4f45ea559e |
| hovercard-subject-tag | pull_request:307808170 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/10367/commits |
| twitter:image | https://opengraph.githubassets.com/c41354616f7d0ac4483e51faff5052f56d2b1c313faf96e4c00dcc20a2648dbb/PowerShell/PowerShell/pull/10367 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c41354616f7d0ac4483e51faff5052f56d2b1c313faf96e4c00dcc20a2648dbb/PowerShell/PowerShell/pull/10367 |
| og:image:alt | PR Summary
Add support to ternary operator <condition> ? <if-true> : <if-false>. It results in a TernaryExpressionAst.
Address #3239
RFC: PowerShell/PowerShell-RFC#218
The old dra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daxian-dbw |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-cache |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/10367/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F10367%2Fcommits |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F10367%2Fcommits |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/10367/commits |
| Reload | https://github.com/PowerShell/PowerShell/pull/10367/commits |
| Reload | https://github.com/PowerShell/PowerShell/pull/10367/commits |
| PowerShell | https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
| Code | https://github.com/PowerShell/PowerShell |
| Issues1.3k (1.3k) | https://github.com/PowerShell/PowerShell/issues |
| Pull requests365 (365) | https://github.com/PowerShell/PowerShell/pulls |
| Discussions | https://github.com/PowerShell/PowerShell/discussions |
| Actions | https://github.com/PowerShell/PowerShell/actions |
| Projects | https://github.com/PowerShell/PowerShell/projects |
| Security and quality3 (3) | https://github.com/PowerShell/PowerShell/security |
| Insights | https://github.com/PowerShell/PowerShell/insights |
| https://github.com/PowerShell/PowerShell |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| daxian-dbw:ternary | https://github.com/daxian-dbw/PowerShell/tree/ternary |
| Conversation | https://github.com/PowerShell/PowerShell/pull/10367 |
| Commits20 (20) | https://github.com/PowerShell/PowerShell/pull/10367/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/10367/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/10367/files |
| Support ternary operator in PowerShell language | https://github.com/PowerShell/PowerShell/pull/10367/commits#top |
| Aditya Patwardhan (adityapatwardhan) | https://github.com/adityapatwardhan |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| daxian-dbw:ternary | https://github.com/daxian-dbw/PowerShell/tree/ternary |
| wip 3 | https://github.com/PowerShell/PowerShell/pull/10367/commits/7da81218c578eef6c42d1c79fee37cdc5c31d2e0 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| 7da8121 | https://github.com/PowerShell/PowerShell/pull/10367/commits/7da81218c578eef6c42d1c79fee37cdc5c31d2e0 |
| https://github.com/PowerShell/PowerShell/tree/7da81218c578eef6c42d1c79fee37cdc5c31d2e0 |
| continuance | https://github.com/PowerShell/PowerShell/pull/10367/commits/ce0db4decfa4bc1c73bd93d7db20fd2fab5a7baa |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| ce0db4d | https://github.com/PowerShell/PowerShell/pull/10367/commits/ce0db4decfa4bc1c73bd93d7db20fd2fab5a7baa |
| https://github.com/PowerShell/PowerShell/tree/ce0db4decfa4bc1c73bd93d7db20fd2fab5a7baa |
| Force end number scan upon seeing ternary OP chars in some situations | https://github.com/PowerShell/PowerShell/pull/10367/commits/c0508e25a6eca7b6d4b190f36072e40066fd4c4d |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| c0508e2 | https://github.com/PowerShell/PowerShell/pull/10367/commits/c0508e25a6eca7b6d4b190f36072e40066fd4c4d |
| https://github.com/PowerShell/PowerShell/tree/c0508e25a6eca7b6d4b190f36072e40066fd4c4d |
| Rename to 'IfTrue' and 'IfFalse' | https://github.com/PowerShell/PowerShell/pull/10367/commits/bd26ce608cc819f5099ee470d601d731efa2c187 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| bd26ce6 | https://github.com/PowerShell/PowerShell/pull/10367/commits/bd26ce608cc819f5099ee470d601d731efa2c187 |
| https://github.com/PowerShell/PowerShell/tree/bd26ce608cc819f5099ee470d601d731efa2c187 |
| Fix typo | https://github.com/PowerShell/PowerShell/pull/10367/commits/ca13df1d8cac86bd4a98f88f8fae0896e1e4949d |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| ca13df1 | https://github.com/PowerShell/PowerShell/pull/10367/commits/ca13df1d8cac86bd4a98f88f8fae0896e1e4949d |
| https://github.com/PowerShell/PowerShell/tree/ca13df1d8cac86bd4a98f88f8fae0896e1e4949d |
| Use Expression.Condition instead of Expression.IfThenElse | https://github.com/PowerShell/PowerShell/pull/10367/commits/b82e011da605344d334caa56ed0b7fd0e2d68822 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| b82e011 | https://github.com/PowerShell/PowerShell/pull/10367/commits/b82e011da605344d334caa56ed0b7fd0e2d68822 |
| https://github.com/PowerShell/PowerShell/tree/b82e011da605344d334caa56ed0b7fd0e2d68822 |
| Address some comments | https://github.com/PowerShell/PowerShell/pull/10367/commits/e50d289065a00d6dc6cb4751acaf40cd6128d888 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| e50d289 | https://github.com/PowerShell/PowerShell/pull/10367/commits/e50d289065a00d6dc6cb4751acaf40cd6128d888 |
| https://github.com/PowerShell/PowerShell/tree/e50d289065a00d6dc6cb4751acaf40cd6128d888 |
| Avoid unnecessary list allocation | https://github.com/PowerShell/PowerShell/pull/10367/commits/b2961f22f72b405eea4ef5ae10c2cb0838aa6f04 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| b2961f2 | https://github.com/PowerShell/PowerShell/pull/10367/commits/b2961f22f72b405eea4ef5ae10c2cb0838aa6f04 |
| https://github.com/PowerShell/PowerShell/tree/b2961f22f72b405eea4ef5ae10c2cb0838aa6f04 |
| Make s_context TLS for 'GetSafeValueVisitor' | https://github.com/PowerShell/PowerShell/pull/10367/commits/77ffa815f5faf03230591e8fa0d8a3b3431da2d8 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| 77ffa81 | https://github.com/PowerShell/PowerShell/pull/10367/commits/77ffa815f5faf03230591e8fa0d8a3b3431da2d8 |
| https://github.com/PowerShell/PowerShell/tree/77ffa815f5faf03230591e8fa0d8a3b3431da2d8 |
| Address Jason's comments | https://github.com/PowerShell/PowerShell/pull/10367/commits/8acb7f1109e4db7d071b3fa5d276c165614e78ee |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| 8acb7f1 | https://github.com/PowerShell/PowerShell/pull/10367/commits/8acb7f1109e4db7d071b3fa5d276c165614e78ee |
| https://github.com/PowerShell/PowerShell/tree/8acb7f1109e4db7d071b3fa5d276c165614e78ee |
| Avoid using 'CaptureAstResults' | https://github.com/PowerShell/PowerShell/pull/10367/commits/a2662e7e7a3164d8f3ea65de4b459d0843e4e032 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| a2662e7 | https://github.com/PowerShell/PowerShell/pull/10367/commits/a2662e7e7a3164d8f3ea65de4b459d0843e4e032 |
| https://github.com/PowerShell/PowerShell/tree/a2662e7e7a3164d8f3ea65de4b459d0843e4e032 |
| Address Rob's comments | https://github.com/PowerShell/PowerShell/pull/10367/commits/cceb44a21e2dcf90e610eed0ce13d648f5732b80 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| cceb44a | https://github.com/PowerShell/PowerShell/pull/10367/commits/cceb44a21e2dcf90e610eed0ce13d648f5732b80 |
| https://github.com/PowerShell/PowerShell/tree/cceb44a21e2dcf90e610eed0ce13d648f5732b80 |
| Update vistor implementations and add tests | https://github.com/PowerShell/PowerShell/pull/10367/commits/77f957e8c8a247436ee1910193ef2a501ee1a26a |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| 77f957e | https://github.com/PowerShell/PowerShell/pull/10367/commits/77f957e8c8a247436ee1910193ef2a501ee1a26a |
| https://github.com/PowerShell/PowerShell/tree/77f957e8c8a247436ee1910193ef2a501ee1a26a |
| Remove continuation support and make ternary operator an experimental feature | https://github.com/PowerShell/PowerShell/pull/10367/commits/99638f963de5168f3d4bb6196d1db20a2355226e |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| 99638f9 | https://github.com/PowerShell/PowerShell/pull/10367/commits/99638f963de5168f3d4bb6196d1db20a2355226e |
| https://github.com/PowerShell/PowerShell/tree/99638f963de5168f3d4bb6196d1db20a2355226e |
| Address Paul's comments | https://github.com/PowerShell/PowerShell/pull/10367/commits/81caabba2459e8ac960644b465fa127f824292be |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| 81caabb | https://github.com/PowerShell/PowerShell/pull/10367/commits/81caabba2459e8ac960644b465fa127f824292be |
| https://github.com/PowerShell/PowerShell/tree/81caabba2459e8ac960644b465fa127f824292be |
| Address Ilya's comments | https://github.com/PowerShell/PowerShell/pull/10367/commits/58bc98db7cc3425af1f37f1d5eadf6d2780d464c |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| 58bc98d | https://github.com/PowerShell/PowerShell/pull/10367/commits/58bc98db7cc3425af1f37f1d5eadf6d2780d464c |
| https://github.com/PowerShell/PowerShell/tree/58bc98db7cc3425af1f37f1d5eadf6d2780d464c |
| Address more comments | https://github.com/PowerShell/PowerShell/pull/10367/commits/a03d358b560af459ad4a22d98b86412ea1161f15 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| a03d358 | https://github.com/PowerShell/PowerShell/pull/10367/commits/a03d358b560af459ad4a22d98b86412ea1161f15 |
| https://github.com/PowerShell/PowerShell/tree/a03d358b560af459ad4a22d98b86412ea1161f15 |
| Address comments in tests | https://github.com/PowerShell/PowerShell/pull/10367/commits/0c58cdb132feca9764016b7cf99f46182f609753 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| 0c58cdb | https://github.com/PowerShell/PowerShell/pull/10367/commits/0c58cdb132feca9764016b7cf99f46182f609753 |
| https://github.com/PowerShell/PowerShell/tree/0c58cdb132feca9764016b7cf99f46182f609753 |
| Fix tests | https://github.com/PowerShell/PowerShell/pull/10367/commits/274d1a8de120d17211bd2be0ed10e83a66d00580 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| 274d1a8 | https://github.com/PowerShell/PowerShell/pull/10367/commits/274d1a8de120d17211bd2be0ed10e83a66d00580 |
| https://github.com/PowerShell/PowerShell/tree/274d1a8de120d17211bd2be0ed10e83a66d00580 |
| Update grammar since line continuation on '?' has been reverted | https://github.com/PowerShell/PowerShell/pull/10367/commits/5e49fdb2f019185b617da0089106e3aba015e68b |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/PowerShell/PowerShell/commits?author=daxian-dbw |
| 5e49fdb | https://github.com/PowerShell/PowerShell/pull/10367/commits/5e49fdb2f019185b617da0089106e3aba015e68b |
| https://github.com/PowerShell/PowerShell/tree/5e49fdb2f019185b617da0089106e3aba015e68b |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |