Remove naive solution for #447

This commit is contained in:
Sijawusz Pur Rahnama 2024-01-22 17:15:52 +01:00
parent 590640b559
commit 17084f4a1d
2 changed files with 4 additions and 11 deletions

View file

@ -402,11 +402,12 @@ module Ameba::Rule::Lint
CRYSTAL
end
it "doesn't report type declaration as a call argument" do
pending "doesn't report type declaration as a call argument" do
expect_no_issues subject, <<-CRYSTAL
foo Foo(T), foo : T
foo Foo, foo : Nil
foo foo : String, bar : Int32?
foo foo : String
foo foo : String, bar : Int32?, baz : Bool
CRYSTAL
end