---
source: test-package-compiler/src/generated_tests.rs
expression: "./cases/imported_external_fns"
---
//// /out/lib/the_package/_gleam_artefacts/one.cache
<.cache binary>

//// /out/lib/the_package/_gleam_artefacts/one.cache_meta
<89 byte binary>

//// /out/lib/the_package/_gleam_artefacts/one.erl
-module(one).
-compile([no_auto_import, nowarn_ignored, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-export([thing/0, escaped_thing/0]).

-file("src/one.gleam", 5).
-spec thing() -> nil.
thing() ->
    thing:new().

-file("src/one.gleam", 9).
-spec escaped_thing() -> nil.
escaped_thing() ->
    'the.thing':'make.new'().



//// /out/lib/the_package/_gleam_artefacts/three.cache
<.cache binary>

//// /out/lib/the_package/_gleam_artefacts/three.cache_meta
<89 byte binary>

//// /out/lib/the_package/_gleam_artefacts/three.erl
-module(three).
-compile([no_auto_import, nowarn_ignored, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-export([thing/0, escaped_thing/0]).

-file("src/three.gleam", 5).
-spec thing() -> nil.
thing() ->
    thing:new().

-file("src/three.gleam", 9).
-spec escaped_thing() -> nil.
escaped_thing() ->
    'the.thing':'make.new'().



//// /out/lib/the_package/_gleam_artefacts/two.cache
<.cache binary>

//// /out/lib/the_package/_gleam_artefacts/two.cache_meta
<501 byte binary>

//// /out/lib/the_package/_gleam_artefacts/two.erl
-module(two).
-compile([no_auto_import, nowarn_ignored, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-export([the_consts/0, fn_reference_qualified/0, fn_reference_qualified_aliased/0, fn_reference_unqualified/0, fn_reference_unqualified_aliased/0, fn_call_qualified/0, fn_call_qualified_aliased/0, fn_call_unqualified/0, fn_call_unqualified_aliased/0, argument_reference_qualified/0, argument_reference_qualified_aliased/0, argument_reference_unqualified/0, argument_reference_unqualified_aliased/0]).

-file("src/two.gleam", 27).
-spec the_consts() -> nil.
the_consts() ->
    _ = fun thing:new/0,
    _ = fun thing:new/0,
    _ = fun thing:new/0,
    _ = fun thing:new/0,
    _ = fun 'the.thing':'make.new'/0,
    _ = fun 'the.thing':'make.new'/0,
    _ = fun 'the.thing':'make.new'/0,
    _ = fun 'the.thing':'make.new'/0,
    thing:new(),
    thing:new(),
    thing:new(),
    thing:new(),
    'the.thing':'make.new'(),
    'the.thing':'make.new'(),
    'the.thing':'make.new'(),
    'the.thing':'make.new'().

-file("src/two.gleam", 48).
-spec fn_reference_qualified() -> fun(() -> nil).
fn_reference_qualified() ->
    fun thing:new/0.

-file("src/two.gleam", 52).
-spec fn_reference_qualified_aliased() -> fun(() -> nil).
fn_reference_qualified_aliased() ->
    fun thing:new/0.

-file("src/two.gleam", 56).
-spec fn_reference_unqualified() -> fun(() -> nil).
fn_reference_unqualified() ->
    fun thing:new/0.

-file("src/two.gleam", 60).
-spec fn_reference_unqualified_aliased() -> fun(() -> nil).
fn_reference_unqualified_aliased() ->
    fun thing:new/0.

-file("src/two.gleam", 66).
-spec fn_call_qualified() -> nil.
fn_call_qualified() ->
    thing:new().

-file("src/two.gleam", 70).
-spec fn_call_qualified_aliased() -> nil.
fn_call_qualified_aliased() ->
    thing:new().

-file("src/two.gleam", 74).
-spec fn_call_unqualified() -> nil.
fn_call_unqualified() ->
    thing:new().

-file("src/two.gleam", 78).
-spec fn_call_unqualified_aliased() -> nil.
fn_call_unqualified_aliased() ->
    thing:new().

-file("src/two.gleam", 100).
-spec x(any()) -> nil.
x(_) ->
    nil.

-file("src/two.gleam", 84).
-spec argument_reference_qualified() -> nil.
argument_reference_qualified() ->
    x(fun 'the.thing':'make.new'/0).

-file("src/two.gleam", 88).
-spec argument_reference_qualified_aliased() -> nil.
argument_reference_qualified_aliased() ->
    x(fun 'the.thing':'make.new'/0).

-file("src/two.gleam", 92).
-spec argument_reference_unqualified() -> nil.
argument_reference_unqualified() ->
    x(fun 'the.thing':'make.new'/0).

-file("src/two.gleam", 96).
-spec argument_reference_unqualified_aliased() -> nil.
argument_reference_unqualified_aliased() ->
    x(fun 'the.thing':'make.new'/0).



//// /out/lib/the_package/ebin/importy.app
{application, importy, [
    {vsn, "0.1.0"},
    {applications, []},
    {description, ""},
    {modules, [one,
               three,
               two]},
    {registered, []}
]}.
