Skip to content

StackOverflowError with alias #44

Description

@GoogleCodeExporter
What steps will reproduce the problem?
require "rational.rb"

class Fixnum
  alias / quo
end

p 3/4 

What is the expected output?
Rational(3, 4)

What do you see instead?
StackOverflowError


Original issue reported on code.google.com by xue.yong...@gmail.com on 20 Sep 2007 at 2:01

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions