shiika-lang / shiika

A statically-typed programming language
MIT License
224 stars 15 forks source link

Should raise error for extranous arg #519

Closed yhara closed 10 months ago

yhara commented 12 months ago

This should be error but no error raised

class A
  def self.run
  end
end
A.run(1)
yamakoud commented 10 months ago

Can I work on this?

yhara commented 10 months ago

@yamakoud yes, please! The first step would be adding a .sk under tests/erroneous/method_call. https://github.com/shiika-lang/shiika/tree/main/tests

yamakoud commented 10 months ago

I'll submit a pull request later.