Skip to content

Unable to compile with carriage returns as part of the source code's "content" #4297

@wwwMalcolm

Description

@wwwMalcolm

Version Information

  • 0.4.0+commit.e9db8d9f

What's your issue about?

Please include information like:

Vyper compiler having issue with carriage returns, specifically if "\r" show's up in the value of "content" within the input.json. Making a guess here that this is probably something that's more related to Windows OS.

Command used with the files attached:

vyper.0.4.0.exe --standard-json -o error-output.json error-input.json

The error content within error-output.json is:

{"compiler": "vyper-0.4.0", "errors": [{"component": "compiler", "message": "substring not found", "severity": "error", "sourceLocation": {"file": "SimpleStorage.vy"}, "type": "ValueError"}]}

error-input.json

error-output.json

If all the "\r" were removed, the command used, will be able to produce a proper output.json

Metadata

Metadata

Assignees

Labels

bug - UXa bug related to UX

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions