Skip to content

Commit

Permalink
Move module_info_higher_arity.erl out of known problems
Browse files Browse the repository at this point in the history
  • Loading branch information
xxdavid committed Mar 5, 2023
1 parent 676fde2 commit ebb322f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/known_problems/should_pass/module_info_higher_arity.erl

This file was deleted.

9 changes: 9 additions & 0 deletions test/should_pass/module_info_higher_arity.erl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-module(module_info_higher_arity).

-export([two_plus_four/0, module_info/2]).

-spec module_info(number(), number()) -> number().
module_info(A, B) -> A + B.

-spec two_plus_four() -> number().
two_plus_four() -> module_info_higher_arity:module_info(2, 4).

0 comments on commit ebb322f

Please sign in to comment.