Skip to content

[TypeChecker] Enable result builder AST transform by default#60419

Closed
xedin wants to merge 8 commits intoswiftlang:mainfrom
xedin:enable-result-builder-ast-transform-by-default
Closed

[TypeChecker] Enable result builder AST transform by default#60419
xedin wants to merge 8 commits intoswiftlang:mainfrom
xedin:enable-result-builder-ast-transform-by-default

Conversation

@xedin
Copy link
Copy Markdown
Contributor

@xedin xedin commented Aug 5, 2022

This PR:

  • Drops experimental feature flag (ResultBuilderASTTransform)
  • Adjusts code completion (changes by @ahoppen)
  • Adjusts all the improved test-cases
  • Removes original result builder implementation

Resolves: rdar://89880662
Resolves: rdar://97388257
Resolves: rdar://95235303
Resolves: rdar://96343005
Resolves: rdar://91731420
Resolves: rdar://95977761
Resolves: rdar://80680636

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from 5ea8a31 to bcd2523 Compare August 9, 2022 21:27
Comment thread include/swift/Sema/ConstraintSystem.h Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo?

Suggested change
/// code compleiton token.
/// code completion token.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from bcd2523 to c5a9974 Compare September 15, 2022 18:36
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Sep 15, 2022

@swift-ci please test

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from c5a9974 to d769dab Compare September 15, 2022 19:50
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Sep 15, 2022

@swift-ci please test

1 similar comment
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Sep 16, 2022

@swift-ci please test

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from 648574f to de77ccb Compare September 21, 2022 17:47
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Sep 21, 2022

@swift-ci please test macOS platform

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from de77ccb to 2f83aee Compare September 26, 2022 16:47
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Sep 26, 2022

@swift-ci please test macOS platform

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from 2f83aee to fafe5d7 Compare September 26, 2022 22:03
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Sep 26, 2022

@swift-ci please test macOS platform

@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Sep 28, 2022

@swift-ci please build toolchain macOS

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from fafe5d7 to ee4b580 Compare October 3, 2022 03:56
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Oct 3, 2022

@swift-ci please test

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from ee4b580 to e18bee6 Compare November 10, 2022 00:28
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Nov 10, 2022

@swift-ci please build toolchain macOS platform

1 similar comment
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Nov 10, 2022

@swift-ci please build toolchain macOS platform

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from 8cf36c7 to db89915 Compare November 18, 2022 01:18
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Nov 18, 2022

@swift-ci please smoke test

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from 02d6343 to f8f0155 Compare November 30, 2022 22:04
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Nov 30, 2022

@swift-ci please smoke test

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from f8f0155 to afe3d30 Compare December 1, 2022 08:33
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Dec 1, 2022

@swift-ci please smoke test macOS platform

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from afe3d30 to 48a0654 Compare December 1, 2022 22:54
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Dec 1, 2022

@swift-ci please smoke test

@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from 48a0654 to 8eff924 Compare December 2, 2022 18:49
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Dec 2, 2022

@swift-ci please smoke test

xedin and others added 8 commits December 13, 2022 09:56
…tements

Visiting of transformed `do` shouldn't run syntatic diagnostics because
they are going to be performed by `visit` that called `visitDoStmt`.
…syntactic elements that don't contain completion token
- `buildCallIfNeeded` has been replaced with `buildCall`
- SolverState has a "current indent" method now.
With AST transform enabled by default most of the previously
invalid declarations became valid (due to SE-0373 being implemented
only for AST transform).
@xedin xedin force-pushed the enable-result-builder-ast-transform-by-default branch from 8eff924 to f6de4be Compare December 13, 2022 17:56
@xedin
Copy link
Copy Markdown
Contributor Author

xedin commented Dec 13, 2022

@swift-ci please test

@xedin xedin closed this Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants