Skip to content

fix UT#255

Merged
lightszero merged 1 commit intoneo-project:Branch_lights_trycatchfrom
ShawnYun:fix_UT
Apr 26, 2020
Merged

fix UT#255
lightszero merged 1 commit intoneo-project:Branch_lights_trycatchfrom
ShawnYun:fix_UT

Conversation

@ShawnYun
Copy link
Copy Markdown
Contributor

@ShawnYun ShawnYun commented Apr 26, 2020

fix UT for #186

@ShawnYun
Copy link
Copy Markdown
Contributor Author

@lightszero Please review it, thanks.

@lightszero lightszero merged commit f602eb8 into neo-project:Branch_lights_trycatch Apr 26, 2020
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>
@ShawnYun ShawnYun deleted the fix_UT branch July 17, 2020 09:28
Jim8y pushed a commit that referenced this pull request Aug 3, 2025
* 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>
Jim8y pushed a commit that referenced this pull request Aug 18, 2025
* 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.

2 participants