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/9a1cdf0ca9924dda519da5bd6d766d86 to your computer and use it in GitHub Desktop.
Save Whateverable/9a1cdf0ca9924dda519da5bd6d766d86 to your computer and use it in GitHub Desktop.
evalable6
my SetHash:D[Str:D] $h = 'asd', 'foo', 'bra';say $h
(exit code 1)
WARNINGS for /tmp/FdsclHTCBr:
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/FdsclHTCBr line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment