Skip to content

Commit 98907f9

Browse files
GearsDatapackslpil
authored andcommitted
Fix rebase
1 parent 7d514a1 commit 98907f9

File tree

29 files changed

+102
-30
lines changed

29 files changed

+102
-30
lines changed

compiler-core/src/erlang/tests/snapshots/gleam_core__erlang__tests__inlining__blocks_get_preserved_when_needed.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn make_adder(a) {
1515

1616
----- COMPILED ERLANG
1717
-module(my@mod).
18-
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
18+
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
1919
-define(FILEPATH, "project/test/my/mod.gleam").
2020
-export([main/0]).
2121

compiler-core/src/erlang/tests/snapshots/gleam_core__erlang__tests__inlining__blocks_get_preserved_when_needed2.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub fn main() {
1111

1212
----- COMPILED ERLANG
1313
-module(my@mod).
14-
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
14+
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
1515
-define(FILEPATH, "project/test/my/mod.gleam").
1616
-export([main/0]).
1717

compiler-core/src/erlang/tests/snapshots/gleam_core__erlang__tests__inlining__do_not_inline_parameters_that_have_side_effects.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn do_side_effects() {
1919

2020
----- COMPILED ERLANG
2121
-module(my@mod).
22-
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
22+
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
2323
-define(FILEPATH, "project/test/my/mod.gleam").
2424
-export([main/0]).
2525

compiler-core/src/erlang/tests/snapshots/gleam_core__erlang__tests__inlining__do_not_inline_parameters_used_more_than_once.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub fn main() {
1313

1414
----- COMPILED ERLANG
1515
-module(my@mod).
16-
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
16+
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
1717
-define(FILEPATH, "project/test/my/mod.gleam").
1818
-export([main/0]).
1919

compiler-core/src/erlang/tests/snapshots/gleam_core__erlang__tests__inlining__inline_anonymous_function_call.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub fn main() {
1111

1212
----- COMPILED ERLANG
1313
-module(my@mod).
14-
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
14+
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
1515
-define(FILEPATH, "project/test/my/mod.gleam").
1616
-export([main/0]).
1717

compiler-core/src/erlang/tests/snapshots/gleam_core__erlang__tests__inlining__inline_anonymous_function_in_pipe.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub fn main() {
1111

1212
----- COMPILED ERLANG
1313
-module(my@mod).
14-
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
14+
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
1515
-define(FILEPATH, "project/test/my/mod.gleam").
1616
-export([main/0]).
1717

compiler-core/src/erlang/tests/snapshots/gleam_core__erlang__tests__inlining__inline_function_capture_in_pipe.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fn add(a, b) { a + b }
1313

1414
----- COMPILED ERLANG
1515
-module(my@mod).
16-
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
16+
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
1717
-define(FILEPATH, "project/test/my/mod.gleam").
1818
-export([main/0]).
1919

compiler-core/src/erlang/tests/snapshots/gleam_core__erlang__tests__inlining__inline_function_which_calls_other_function.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub fn main() {
1313

1414
----- COMPILED ERLANG
1515
-module(my@mod).
16-
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
16+
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
1717
-define(FILEPATH, "project/test/my/mod.gleam").
1818
-export([main/0]).
1919

compiler-core/src/erlang/tests/snapshots/gleam_core__erlang__tests__inlining__inline_function_with_use.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub fn divide(a, b) {
1414

1515
----- COMPILED ERLANG
1616
-module(my@mod).
17-
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
17+
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
1818
-define(FILEPATH, "project/test/my/mod.gleam").
1919
-export([divide/2]).
2020

compiler-core/src/erlang/tests/snapshots/gleam_core__erlang__tests__inlining__inline_function_with_use_and_anonymous.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub fn divide(a, b) {
1414

1515
----- COMPILED ERLANG
1616
-module(my@mod).
17-
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
17+
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
1818
-define(FILEPATH, "project/test/my/mod.gleam").
1919
-export([divide/2]).
2020

0 commit comments

Comments
 (0)