Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This code does not compile successfully [1] #305

Closed
chenzhitong opened this issue Jun 23, 2020 · 1 comment · Fixed by #307
Closed

This code does not compile successfully [1] #305

chenzhitong opened this issue Jun 23, 2020 · 1 comment · Fixed by #307

Comments

@chenzhitong
Copy link
Member

chenzhitong commented Jun 23, 2020

Smart Contract Code:
https://github.com/chenzhitong/neo-devpack-dotnet/blob/optimize-2/templates/Template.NEP5.CSharp/Storage/AssetStorage.cs#L12-L19

This code does not compile correctly

image

However, if I comment out else,It can compile successfully

image

image

@ShawnYun
Copy link
Contributor

I will help to fix it.

@chenzhitong chenzhitong changed the title This code does not compile correctly This code does not compile successfully [1] Jun 23, 2020
@ShawnYun ShawnYun mentioned this issue Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants