Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created October 21, 2017 17:21
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/6e0cd4a5c8e39dffcbc3185bf1d1a0a9 to your computer and use it in GitHub Desktop.
Save Whateverable/6e0cd4a5c8e39dffcbc3185bf1d1a0a9 to your computer and use it in GitHub Desktop.
committable6
2017.09,1ea3297b2144^,1ea3297b2144,HEAD class Reals is Range { has $.x = 42; method new() { nextwith min => -∞, max => ∞, :!excludes-min, :!excludes-max }; }; Reals.new.x.say
¦«2017.09,1ea3297b2144^»:
42
¦«1ea3297,HEAD(312cac7)»:
Cannot resolve caller new(Reals: :!excludes-max, :min(Num), :!excludes-min, :max(Num)); none of these signatures match:
(Range $: Range $min, \max, :$excludes-min, :$excludes-max, *%_)
(Range $: \min, Range $max, :$excludes-min, :$excludes-max, *%_)
(Range $: Seq \min, \max, :$excludes-min, :$excludes-max, *%_)
(Range $: \min, Seq \max, :$excludes-min, :$excludes-max, *%_)
(Range $: Complex \min, \max, :$excludes-min, :$excludes-max, *%_)
(Range $: \min, Complex \max, :$excludes-min, :$excludes-max, *%_)
(Range $: Whatever \min, Whatever \max, :$excludes-min, :$excludes-max, *%_)
(Range $: Whatever \min, \max, :$excludes-min, :$excludes-max, *%_)
(Range $: \min, Whatever \max, :$excludes-min, :$excludes-max, *%_)
(Range $: Real \min, $max, :$excludes-min, :$excludes-max, *%_)
(Range $: List:D \min, \max, :$excludes-min, :$excludes-max, *%_)
(Range $: Match:D \min, \max, :$excludes-min, :$excludes-max, *%_)
(Range $: \min, \max, :$excludes-min, :$excludes-max!, *%_)
(Range $: \min, \max, :$excludes-min!, :$excludes-max, *%_)
(Range $: \min, \max, *%_)
in method new at /tmp/2tEsLgGHmT line 1
in block <unit> at /tmp/2tEsLgGHmT line 1
«exit code = 1»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment