Skip to content

Commit

Permalink
chore: self mutation (build.diff)
Browse files Browse the repository at this point in the history
Signed-off-by: monada-bot[bot] <[email protected]>
  • Loading branch information
monadabot committed Apr 12, 2024
1 parent cf34fb2 commit 3540ba5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions libs/wingc/src/type_check/lifts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,7 @@ impl Lifts {

/// Adds a lift for an expression.
pub fn lift(&mut self, method: Symbol, qualification: Option<String>, code: &str, explicit: bool) {
self.add_lift(
method.to_string(),
code,
qualification.clone(),
explicit,
);
self.add_lift(method.to_string(), code, qualification.clone(), explicit);

// Add a lift to the inflight initializer to signify this class requires access to that preflight object.
// "this" is a special case since it's already in scope and doesn't need to be lifted.
Expand Down

0 comments on commit 3540ba5

Please sign in to comment.