Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 10, 2019 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/697f088d6d7e69d0169e4a346269f13d to your computer and use it in GitHub Desktop.
Save Whateverable/697f088d6d7e69d0169e4a346269f13d to your computer and use it in GitHub Desktop.
evalable6
my SetHash:D[Str:D] $h = 'asd', 'foo', 'bra';say $h<asd>
(exit code 1)
WARNINGS for /tmp/SaLT1tFQHx:
Useless use of constant string "foo" in sink context (lines 1, 1)
Useless use of constant string "bra" in sink context (lines 1, 1)
Type check failed in assignment to $h; expected SetHash:D but got Str ("asd")
in block <unit> at /tmp/SaLT1tFQHx line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment