From e64d0a97916cb2c3e913440ab6e6ef8a9f3b9890 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Thu, 24 Jun 2021 18:19:43 -0400 Subject: [PATCH] Revert "improvement: add `Ash.Type.type/1`" This reverts commit a0f6cd9219586a03b7feb5ce8b0e6aed3a9f3f48. --- lib/ash/type/type.ex | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/ash/type/type.ex b/lib/ash/type/type.ex index 8454b0cb..3e76cd08 100644 --- a/lib/ash/type/type.ex +++ b/lib/ash/type/type.ex @@ -626,9 +626,6 @@ defmodule Ash.Type do type.equal?(left, right) end - def type({:array, type}), do: type(type) - def type(type), do: type.type() - defmacro __using__(_) do quote location: :keep do @behaviour Ash.Type