AustP / autocomplete-solidity

Autocomplete+ provider for Solidity
MIT License
9 stars 3 forks source link

Replace single quotes for `import` with double quotes #4

Closed bkrem closed 8 years ago

bkrem commented 8 years ago

Reasoning: When attempting to use the automatically provided snippet that utilises single quotes, the Solidity compiler throws the following error when trying to import the Task.sol file (which is in the same directory as the entry point .sol file being compiled):

Error compiling contracts
exit status 1; acc3bfbc0bcdda1626fe732d723192a145bcda0fee759662e0d76790a8336595.sol:1:1: Error: Source not found: File not found.
import 'Task.sol';
^----------------^

Replacing the single quotes with double quotes resolves this misleading error.

AustP commented 8 years ago

Thanks @bkrem =] I'm gonna look into issue #3 and see if I can get that fixed before publishing a patch.

AustP commented 8 years ago

This and #3 have been published in v0.3.2

bkrem commented 8 years ago

Awesome, thank you for the fast fixes!