Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

method redefined warnings #286

Open
tiagoefmoraes opened this issue Apr 10, 2018 · 1 comment
Open

method redefined warnings #286

tiagoefmoraes opened this issue Apr 10, 2018 · 1 comment

Comments

@tiagoefmoraes
Copy link

When running ruby -w -e 'require "contracts"; class Foo; include Contracts; end' or ruby -w -e 'require "contracts"; class Foo; include Contracts::Core; end'

I get this warnings

/home/tiago/.gem/ruby/2.4.3/gems/contracts-0.16.0/lib/contracts/core.rb:21: warning: method redefined; discarding old functype
/home/tiago/.gem/ruby/2.4.3/gems/contracts-0.16.0/lib/contracts/core.rb:47: warning: previous definition of functype was here
@grosser
Copy link

grosser commented Feb 14, 2019

getting the same :/
/cc @egonSchiele

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants