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-catch failure ut #261

Conversation

Tommo-L
Copy link
Contributor

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

No description provided.

@Tommo-L Tommo-L mentioned this pull request Apr 30, 2020
@lightszero lightszero merged commit e891851 into neo-project:Branch_lights_trycatch Apr 30, 2020
@Tommo-L Tommo-L deleted the add_try_catch_failure_ut branch April 30, 2020 13:47
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.

None yet

2 participants