Files
n8n-openai-adapter/lib/elixir/src
Fernando Tapia Rico 66a289056e Raise when passing an empty list instead of clauses (#9402)
This fixes an edge case in which the compiler will process an
empty list value (`[]`) as a block with no clauses, which is not
possible.

Here is an example:

    with {:ok, value} <- Map.fetch(%{a: 1}, :a) do
      value
    else
      []
    end

With this change, the code above will not compile.
2019-10-13 16:50:05 +02:00
..
2019-08-02 13:35:12 +02:00
2019-06-13 19:57:31 +02:00
2019-08-02 13:35:12 +02:00
2019-08-02 13:35:12 +02:00
2018-12-21 13:42:54 +01:00
2019-08-02 13:35:12 +02:00