Skip to content

method redefined warnings #286

Description

@tiagoefmoraes

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions