algae
algae copied to clipboard
Compilation error when using `DateTime.t()`
This code fails to compile with the following error: (UndefinedFunctionError) function DateTime.new/0 is undefined or private
.
defmodule A do
import TypeClass
defdata do
time :: DateTime.t()
end
end