This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Description
Problem
with code similar to the following, the require Logger expression was added in inside the typedstruct block
defmodule Bar do
use TypedStruct
require AnotherModule
typedstruct module: Some.Thing do
@moduledoc false
field :name, String.t(), enforce: true
end
def foo do
Logger.warning("something")
end
end