We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erlang/OTP 25 [erts-13.0.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Elixir 1.14.3 (compiled with Erlang/OTP 25)
==> triplex Compiling 17 files (.ex) warning: incompatible types:
map() !~ atom()
in expression:
# lib/mix/triplex.ex:152 repo.config()
where "repo" was given the type map() (due to calling var.field) in:
# lib/mix/triplex.ex:152 repo.__adapter__
where "repo" was given the type atom() (due to calling var.fun()) in:
HINT: "var.field" (without parentheses) implies "var" is a map() while "var.fun()" (with parentheses) implies "var" is an atom()
Conflict found at lib/mix/triplex.ex:152: Mix.Triplex.ensure_started/2
warning: incompatible types:
# lib/mix/triplex.ex:117 repo.stop()
# lib/mix/triplex.ex:101 repo.config
Conflict found at lib/mix/triplex.ex:117: Mix.Triplex.run_tenant_migrations/5
The text was updated successfully, but these errors were encountered:
@gabrielmancini did you find a solution for this?
Sorry, something went wrong.
use atom instead string to call the functions, will work
No branches or pull requests
Erlang/OTP 25 [erts-13.0.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Elixir 1.14.3 (compiled with Erlang/OTP 25)
==> triplex
Compiling 17 files (.ex)
warning: incompatible types:
in expression:
where "repo" was given the type map() (due to calling var.field) in:
where "repo" was given the type atom() (due to calling var.fun()) in:
HINT: "var.field" (without parentheses) implies "var" is a map() while "var.fun()" (with parentheses) implies "var" is an atom()
Conflict found at
lib/mix/triplex.ex:152: Mix.Triplex.ensure_started/2
warning: incompatible types:
in expression:
where "repo" was given the type map() (due to calling var.field) in:
where "repo" was given the type atom() (due to calling var.fun()) in:
HINT: "var.field" (without parentheses) implies "var" is a map() while "var.fun()" (with parentheses) implies "var" is an atom()
Conflict found at
lib/mix/triplex.ex:117: Mix.Triplex.run_tenant_migrations/5
The text was updated successfully, but these errors were encountered: