---
source: compiler-core/src/erlang/tests.rs
expression: "\npub fn go(a) {\n  let a = a + 1\n  a\n}\n\n                    "
---
----- SOURCE CODE

pub fn go(a) {
  let a = a + 1
  a
}

                    

----- COMPILED ERLANG
-module(my@mod).
-compile([no_auto_import, nowarn_ignored, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-export([go/1]).

-file("project/test/my/mod.gleam", 2).
-spec go(integer()) -> integer().
go(A) ->
    A@1 = A + 1,
    A@1.
