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

Windows10 環境で PatchSerializerTest が失敗するバグを修正 #798

Merged
merged 6 commits into from Nov 12, 2020

Conversation

ty-v1
Copy link
Contributor

@ty-v1 ty-v1 commented Oct 28, 2020

resolve #797

原因

実行環境の文字コードがUTF-8以外かつマルチバイト文字が修正対象に含まれるときに,ASTの操作に失敗するため.

変更点

  • ASTを作るときに読み込むソースコードのエンコーディングを渡すようにした.
  • ソースコードをUTF-8に変換せずにそのまま保持するようにした.

TODO

  • windows環境での動作確認
  • テストを書く

@clione-bot
Copy link

clione-bot bot commented Oct 28, 2020

No problem. Good job!

@ty-v1 ty-v1 changed the title [WIP] Windows10 環境で PatchSerializerTest が失敗するバグを修正 Windows10 環境で PatchSerializerTest が失敗するバグを修正 Nov 9, 2020
@ty-v1 ty-v1 requested a review from hrtwt November 9, 2020 08:54
Copy link
Contributor

@hrtwt hrtwt left a comment

Choose a reason for hiding this comment

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

2点コメントさせていただきました.
どちらも unused import の削除です.
修正よろしくお願いします.

@ty-v1
Copy link
Contributor Author

ty-v1 commented Nov 12, 2020

修正しました

Copy link
Contributor

@hrtwt hrtwt left a comment

Choose a reason for hiding this comment

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

修正ありがとうございます.
問題ないように思いますのでマージします.
お疲れさまでした.

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.

一部の Windows10 環境で PatchSerializerTest に失敗する
2 participants