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

add try-finally ut #259

Merged
merged 5 commits into from
Apr 29, 2020
Merged

add try-finally ut #259

merged 5 commits into from
Apr 29, 2020

Conversation

Tommo-L
Copy link
Contributor

@Tommo-L Tommo-L commented Apr 29, 2020

  • Fixed nest try-catch ut
  • format, translate comments
  • Fixed try-finally ut
  • Add try-catch ut

@lightszero Could help merge it, I have fixed the ut.

@Tommo-L Tommo-L mentioned this pull request Apr 29, 2020
@lightszero lightszero merged commit c462e25 into neo-project:Branch_lights_trycatch Apr 29, 2020
@Tommo-L Tommo-L deleted the fix-try-catch branch April 29, 2020 14:36
lightszero added a commit that referenced this pull request May 6, 2020
* parseTryCatch

* fix try endpos problem

* add parse code for  no catch and no finally

* update trycatch

* add a unittest

* fix compile error on compiler

* fix compiler about trycatch

* fix opcodes

* fix optimizer for try catch

* open optimize for trycatch unittest

* Fix format

* fix UT (#255)

* add try-finally ut (#259)

* add try-finally ut

* format, translate

* fix try-finally and add try-catch

* refactor code

* keep only one try-catch matched

* add commont for exception paramcount.

* Update src/Neo.Compiler.MSIL/MSIL/Converter.cs

* Update src/Neo.Compiler.MSIL/MSIL/Converter.cs

* add try-catch failure ut (#261)

* fix some skip leaves problem.

* Reduce changes

Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: ShawnYun <42930111+ShawnYun@users.noreply.github.com>
Co-authored-by: Luchuan <luchuan@neo.org>
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 this pull request may close these issues.

3 participants