Skip to content

Commit

Permalink
Remove unused monomorphization code. (#5266)
Browse files Browse the repository at this point in the history
## Description

This removes monomorphization code that was added previously by Emily,
but never got finished and is thus unused currently.

## Checklist

- [ ] I have linked to any relevant issues.
- [ ] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [ ] I have added tests that prove my fix is effective or that my
feature works.
- [ ] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [ ] I have requested a review from the relevant team or maintainers.
  • Loading branch information
tritao authored Nov 13, 2023
1 parent d0cc715 commit ea0624b
Show file tree
Hide file tree
Showing 25 changed files with 1 addition and 1,434 deletions.
1 change: 1 addition & 0 deletions sway-core/src/decl_engine/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ where
Template(value)
}

#[allow(dead_code)]
pub(crate) fn inner(&self) -> &T {
&self.0
}
Expand Down
1 change: 0 additions & 1 deletion sway-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub mod decl_engine;
pub mod ir_generation;
pub mod language;
mod metadata;
mod monomorphize;
pub mod query_engine;
pub mod semantic_analysis;
pub mod source_map;
Expand Down
170 changes: 0 additions & 170 deletions sway-core/src/monomorphize/constraint.rs

This file was deleted.

15 changes: 0 additions & 15 deletions sway-core/src/monomorphize/gather/code_block.rs

This file was deleted.

121 changes: 0 additions & 121 deletions sway-core/src/monomorphize/gather/context.rs

This file was deleted.

64 changes: 0 additions & 64 deletions sway-core/src/monomorphize/gather/declaration.rs

This file was deleted.

Loading

0 comments on commit ea0624b

Please sign in to comment.