Error in the contracting package

I got an error when trying to create one of my smart contracts.

I know that the programming is mostly done in English, but today I encountered an error when trying to comment my code in my Spanish language, when I put native words of my language with the ñ, or a different word, the compiler generates me only this error

image

that does not tell me anything or in which line is my error or what is the error, in case it is a very large contract and the developer does not know why this error is happening could be a big headache.

1 Like

Thanks for letting us know, in order to help you, can you provide a little more info on the tools you are using to write / test / deploy the contract ?

I have been using the tool Xian Wallet in the online IDE.

Ive created an issue to review the error handling in the wallet / xian js - we definitely need to improve this.

BTW - the recommended tool for creating xian smart contracts can be found here this is an integrated testing and dev environment that will allow you to write and test contracts, giving you much better feedback on issues with your contract before deploying.

1 Like

Can you give me an example contract?

You can choose any special Unicode character you want. I’m pretty sure this also happens with ä and ü etc. too