You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my (Any:D $a) = Any;
# OUTPUT: ( no output )
expected:
OUTPUT«Type check failed in assignment to $a; expected Any:D but got Any (Any) in block <unit> at <tmp> line 1»
# `use variable :D` does work as expected and `$a.of` does not include
# the type smiley for the first example.
On Thu, 15 Dec 2016 13:01:07 -0800, gfldex wrote:
my (Any:D $a) = Any;
# OUTPUT: ( no output )
expected:
OUTPUT«Type check failed in assignment to $a; expected Any:D but got
Any (Any) in block <unit> at <tmp> line 1»
# `use variable :D` does work as expected and `$a.of` does not include
# the type smiley for the first example.
Migrated from rt.perl.org#130356 (status was 'open')
Searchable as RT130356$
The text was updated successfully, but these errors were encountered: