mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix caret position for errors with utf source
This commit is contained in:
@@ -8,7 +8,7 @@ from os.path import join, isfile
|
||||
|
||||
|
||||
def extract_test_cases(path):
|
||||
lines = open(path, 'rb').read().splitlines()
|
||||
lines = open(path, encoding="utf8", errors='ignore', mode='rb').read().splitlines()
|
||||
|
||||
inside = False
|
||||
delimiter = ''
|
||||
|
||||
Reference in New Issue
Block a user