Skip to content

It will not detect 0-ary functions defined without parens #6

Description

@hauleth

This test suite will fail.

  test "empty args" do
    code = """
    defmodule Foo do
      def bar do
        2137
      end
    end
    """

    assert {:ok, 2137} = MiniElixir.eval(code, Foo, :bar, [])
  end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions