Skip to content

add try-finally ut#259

Merged
lightszero merged 5 commits intoneo-project:Branch_lights_trycatchfrom
Tommo-L:fix-try-catch
Apr 29, 2020
Merged

add try-finally ut#259
lightszero merged 5 commits intoneo-project:Branch_lights_trycatchfrom
Tommo-L:fix-try-catch

Conversation

@Tommo-L
Copy link
Copy Markdown
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>
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.

3 participants