Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop creating in-memory KtFile when file path is provided (#7250)
* Trigger automatic line separator detection in tests This is required when loading KtFile using standard methods * Stop creating in-memory KtFile when file path is provided The new methods will create KtFile with virtualPath.path set correctly * Reset modifiedText when autocorrecting files The same instance of a KtFile will be reused in some circumstances. To avoid issues the modifiedText must be reset.
- Loading branch information
Showing
4 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters