[#11073] segfault printing instruction sequence for iterator — <noreply@...>

Bugs item #10527, was opened at 2007-05-02 14:42

14 messages 2007/05/02
[#11142] Re: [ ruby-Bugs-10527 ] segfault printing instruction sequence for iterator — Nobuyoshi Nakada <nobu@...> 2007/05/10

Hi,

[#11188] Re: [ ruby-Bugs-10527 ] segfault printing instruction sequence for iterator — Paul Brannan <pbrannan@...> 2007/05/16

On Thu, May 10, 2007 at 04:51:18PM +0900, Nobuyoshi Nakada wrote:

[#11234] Planning to release 1.8.6 errata — Urabe Shyouhei <shyouhei@...>

Hi all.

17 messages 2007/05/25

[ ruby-Bugs-5740 ] RDOC doesn't show string "#" or "\#"

From: <noreply@...>
Date: 2007-05-25 15:22:56 UTC
List: ruby-core #11238
Bugs item #5740, was opened at 2006-09-13 04:55
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5740&group_id=426

Category: Standard Library
Group: 1.8.4
Status: Open
Resolution: Accepted
Priority: 2
Submitted By: Peter de Kraker (peturrr)
Assigned to: Eric Hodel (drbrain)
Summary: RDOC doesn't show string  "#" or "\#"

Initial Comment:
I am working with musical signs like "#".
In a method this "#" is assigned to a variable by default.
like: 

Def foo(bar = "#")
end

In RDOC this shows up as:

foo(bar = "


When bar = "\#"
it shows up as:

foo(bar = "\


The method just works, but RDOC mistakinly filters it out as a comment or something. 





----------------------------------------------------------------------

Comment By: Daniel Berger (djberg96)
Date: 2007-05-25 08:22

Message:
I think this is a difficult exception to handle. But, rather than forcing people to use escapes in their code just so RDoc will pick it up properly (which doesn't work right now anyway), I vote that any '#' sign surrounded by quotes be interpreted literally.

I'll see if I can whip up a patch today.

Dan

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5740&group_id=426

In This Thread

Prev Next