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

[move-compiler]Support CRLF as newline for Move files (#90)_46 #328

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

sahithiacn
Copy link
Contributor

Motivation

Support CRLF as newline for Move files

Validate crlf in source

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

move-ir-compiler

  • test case

language/move-ir-compiler/transactional-tests/tests/parsing/crlf.mvir

  • run test

cd language/move-ir-compiler/transactional-tests && cargo test

move-compiler

  • test case

language/move-compiler/tests/move_check/parser/newline_crlf.move

  • run test

cd language/move-compiler && cargo test

@sahithiacn
Copy link
Contributor Author

/canary

bors-diem pushed a commit that referenced this pull request Jan 11, 2023
* [move-compiler] Support CRLF as newline for Move files

Fix issue: starcoinorg/starcoin#3130

* feat: validate crlf in source

* [move-compiler] Support CRLF as newline for Move files

Fix issue: starcoinorg/starcoin#3130

* feat: fix test-ci fail

Signed-off-by: sahithiacn <sahithi.kalakonda@accenture.com>
Closes: #328
@bors-diem
Copy link

☀️ Canary successful

dhaneshacn
dhaneshacn previously approved these changes Jan 11, 2023
@sahithiacn
Copy link
Contributor Author

/land

* [move-compiler] Support CRLF as newline for Move files

Fix issue: starcoinorg/starcoin#3130

* feat: validate crlf in source

* [move-compiler] Support CRLF as newline for Move files

Fix issue: starcoinorg/starcoin#3130

* feat: fix test-ci fail

Signed-off-by: sahithiacn <sahithi.kalakonda@accenture.com>
Closes: diem#328
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.

4 participants