Skip to content

super arguments change failure #42

Description

@GoogleCodeExporter
Ola Bini found this.

class Foo
        def bar(*args)
                p args
        end
end

class FooBaz < Foo
        def bar(*args)
                args[0] = "HEHEHE"
                super
        end
end

FooBaz.new.bar("hello","original","other stuff")

Expected output:
["HEHEHE", "original", "other stuff"]
But
["hello", "original", "other stuff"]

Original issue reported on code.google.com by dreamhea...@gmail.com on 2 Sep 2007 at 6:08

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions