--Bu8it7iiRSEf40bY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 13, 2011 at 08:58:06AM +0900, Eric Hodel wrote:
> On May 12, 2011, at 1:51 PM, Chad Perrin wrote:
> > I've been seeing a lot of this lately:
> >=20
> >    def foo(bar)
> >      puts bar
> >      end
>=20
> Ruby 1.9.3dev emits a warning when you pull this kind of stunt:
>=20
> $ ./ruby19 -v -
> ruby 1.9.3dev (2011-05-13 trunk 31536) [x86_64-darwin10.7.0]
>    def foo(bar)
>      puts bar
>      end
> -:3: warning: mismatched indentations at 'end' with 'def' at 1

Excellent!

That is, by the way, not an error I've ever seen -- and not one I expect
to see any time soon, either.

--=20
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

--Bu8it7iiRSEf40bY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk3Mj9sACgkQ9mn/Pj01uKVCKwCfQN8ZX82zONPgcoU5VTVB3whS
A14AnRgZOugJPFQlmgya353FhYb+Dpcd
=52/7
-----END PGP SIGNATURE-----

--Bu8it7iiRSEf40bY--

On Fri, May 13, 2011 at 08:58:06AM +0900, Eric Hodel wrote:
> On May 12, 2011, at 1:51 PM, Chad Perrin wrote:
> > I've been seeing a lot of this lately:
> >=20
> >    def foo(bar)
> >      puts bar
> >      end
>=20
> Ruby 1.9.3dev emits a warning when you pull this kind of stunt:
>=20
> $ ./ruby19 -v -
> ruby 1.9.3dev (2011-05-13 trunk 31536) [x86_64-darwin10.7.0]
>    def foo(bar)
>      puts bar
>      end
> -:3: warning: mismatched indentations at 'end' with 'def' at 1

Excellent!

That is, by the way, not an error I've ever seen -- and not one I expect
to see any time soon, either.

--=20
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk3Mj9sACgkQ9mn/Pj01uKVCKwCfQN8ZX82zONPgcoU5VTVB3whS
A14AnRgZOugJPFQlmgya353FhYb+Dpcd
=52/7
-----END PGP SIGNATURE-----