Why not just FileName = Name? The current code replaces any existing extension in the filename by .aes which is not the most intuitive behaviour.
*Created by: UlfNorell*
Why not just `FileName = Name`? The current code replaces any existing extension in the filename by `.aes` which is not the most intuitive behaviour.
I have just assumed that .aes is the default sophia file extension. An addition of this is done in the epoch tests. And I just feel it is reasonable to have a default extension.
I have just assumed that `.aes` is the default sophia file extension. An addition of this is done in the epoch tests. And I just feel it is reasonable to have a default extension.
This isn't just having a default extension though. If I try to compile a file mycontract.sophia it tries to read mycontract.aes.
*Created by: UlfNorell*
This isn't just having a default extension though. If I try to compile a file `mycontract.sophia` it tries to read `mycontract.aes`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Clean up the interface to the sophia compiler.
PT-163063316
Created by: hanssv
Review: Approved
I think it looks fine
Created by: hanssv
Review: Commented
Formatting is a bit off... Aeternity code seems to have a space after a
,I know, but I don't like a space after
,inside a data structure, only between arguments and in the body of a function 😉Created by: UlfNorell
Why not just
FileName = Name? The current code replaces any existing extension in the filename by.aeswhich is not the most intuitive behaviour.Created by: UlfNorell
Review: Approved
I have just assumed that
.aesis the default sophia file extension. An addition of this is done in the epoch tests. And I just feel it is reasonable to have a default extension.Merged by: rvirding at 2019-01-25 15:20:39 UTC
Created by: UlfNorell
This isn't just having a default extension though. If I try to compile a file
mycontract.sophiait tries to readmycontract.aes.