# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #114716]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114716 >


<masak> rn: say (class {}).^name
<p6eval> niecza v21-1-ga8aa70b: OUTPUT«ANON␤»
<p6eval> ..rakudo 962b9b: OUTPUT«<anon>␤»
<masak> rn: say (class {}) === (class {})
<p6eval> niecza v21-1-ga8aa70b: OUTPUT«False␤»
<p6eval> ..rakudo 962b9b: OUTPUT«True␤»
<masak> o.O
<masak> Rakudo! really, "True"?
<masak> r: say (class { has $.x }) === (class {})
<p6eval> rakudo 962b9b: OUTPUT«True␤»
<masak> r: say (class { method foo {} }) === (class {})
<p6eval> rakudo 962b9b: OUTPUT«True␤»
* masak submits rakudobug

S03 doesn't go into detail about what "value identity" means. But the
consensus intuition seems to be that things of different types should
not compare as True under infix:<===>, like they do here.

Reply via email to