forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include
#[test]
functions as entry points during dead code analysis (…
…FuelLabs#3151) Refactors the collection of flow graph entry points into a function, and includes functions decorated with the `#[test]` attribute. Short-hand methods have been added to `TyFunctionDeclaration` for checking if the function is `main`, a unit test or if it is an entry point. This is another step towards FuelLabs#2985.
- Loading branch information
1 parent
224e729
commit 7bee2b2
Showing
2 changed files
with
102 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters