[ruby-core:96718] [Ruby master Bug#16488] 2.7 spews warnings about net/imap

[email protected] Wed, 08 Jan 2020 22:41:05 +0000 (UTC)
Newsgroups gmane.comp.lang.ruby.core
Message-ID <redmine.issue-16488.20200108224105.5a2c9b6a7a8f11c7@ruby-lang.org>
Issue #16488 has been reported by chdiza (Charles Diza).

----------------------------------------
Bug #16488: 2.7 spews warnings about net/imap
https://bugs.ruby-lang.org/issues/16488

* Author: chdiza (Charles Diza)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin18]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
I just upgraded from 2.6.5 to 2.7.0.  Some of my scripts are now emitting warnings that weren't there before.  Eg., #16469.

Specifically in this report I want to complain that ruby 2.7 is issuing warnings about it's own net/imap library:

lib/ruby/2.7.0/Net/imap.rb:906: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>