Tsilva
Tsilva
AEAsh Elixir
Created by Tsilva on 4/6/2023 in #support
cannot use pin operator ^agg_authorize?
warning: the dependency :spark requires Elixir "~> 1.13" but you are running on v1.12.3
11 replies
AEAsh Elixir
Created by Tsilva on 4/6/2023 in #support
cannot use pin operator ^agg_authorize?
im on elixir *1.12.3-otp-24
11 replies
AEAsh Elixir
Created by Tsilva on 4/6/2023 in #support
cannot use pin operator ^agg_authorize?
tsilva@Tonys-MacBook-Pro-2 helpdesk git:(main) ✗ mix compile ==> spark warning: the dependency :spark requires Elixir "~> 1.13" but you are running on v1.12.3 Compiling 21 files (.ex) warning: module Mix.Tasks.Format is not a behaviour (in module Spark.Formatter) lib/spark/formatter.ex:1: Spark.Formatter (module) Generated spark app ==> ash Compiling 356 files (.ex) warning: this check/guard will always yield the same result lib/ash/api/dsl.ex:145 warning: this check/guard will always yield the same result lib/ash/data_layer/mnesia/mnesia.ex:49 warning: this check/guard will always yield the same result lib/ash/registry/dsl.ex:66 warning: this check/guard will always yield the same result lib/ash/policy/authorizer.ex:273 warning: this check/guard will always yield the same result lib/ash/notifier/pub_sub/pub_sub.ex:114 warning: this check/guard will always yield the same result lib/ash/data_layer/ets/ets.ex:53 warning: this check/guard will always yield the same result lib/ash/registry/extensions/resource_validations/resource_validations.ex:12 warning: this check/guard will always yield the same result lib/ash/data_layer/simple/simple.ex:9 == Compilation error in file lib/ash/actions/aggregate.ex == ** (CompileError) lib/ash/actions/aggregate.ex:85: cannot use pin operator ^agg_authorize? inside a data structure as a map key in a pattern. The pin operator can only be used as the whole key (stdlib 3.15) lists.erl:1267: :lists.foldl/3 (stdlib 3.15) lists.erl:1358: :lists.mapfoldl/3 (stdlib 3.15) lists.erl:1359: :lists.mapfoldl/3 expanding macro: Ash.Tracer.telemetry_span/3 could not compile dependency :ash, "mix compile" failed. You can recompile this dependency with "mix deps.compile ash", update it with "mix deps.update ash" or clean it with "mix deps.clean ash"
11 replies
AEAsh Elixir
Created by Tsilva on 4/6/2023 in #support
cannot use pin operator ^agg_authorize?
hmm maybe your right
11 replies
AEAsh Elixir
Created by Tsilva on 4/6/2023 in #support
cannot use pin operator ^agg_authorize?
[ {:ash, "2.6.21"}, {:spark, "~> 0.3"} ]
11 replies
AEAsh Elixir
Created by Tsilva on 4/6/2023 in #support
cannot use pin operator ^agg_authorize?
If I lock to 2.6.21 and add spark at "~> 0.3" it compiles
11 replies