[ruby-core:32854] Re: turning off indentation warnings

From: Aaron Patterson <aaron@...>
Date: 2010-10-19 23:40:58 UTC
List: ruby-core #32854
On Thu, Sep 10, 2009 at 10:39:50PM +0900, Nobuyoshi Nakada wrote:
> Hi,
>=20
> At Mon, 7 Sep 2009 07:53:27 +0900,
> Aaron Patterson wrote in [ruby-core:25442]:
> > Is there a way in 1.9 to turn off only indentation warnings?  I like =
=20
> > to keep warnings turned on, but indentation warnings don't make sense =
=20
> > when the output is generated, like with racc.
>=20
> Currently, nothing.  How about magic comments?

*bump*

This is still a thorn in my side.  People report bugs against nokogiri,
when this is really because Ruby shouldn't emit warnings when we know
that Ruby code is generated like with Racc.

Here is a ticket where someone reported the issue with nokogiri:

  http://github.com/tenderlove/nokogiri/issues/#issue/314

--=20
Aaron Patterson
http://tenderlovemaking.com/

In This Thread

Prev Next