We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dbc3d25 + b416dd9 commit c615f9aCopy full SHA for c615f9a
doc/Type/Signature.pod6
@@ -165,9 +165,7 @@ use the C<:D> type constraint.
165
say limit-lines Str, 3;
166
CATCH { default { put .^name, .Str } };
167
# OUTPUT«X::AdHocParameter '$s' requires an instance of type Str, but a
168
- # type object was passed. Did you forget a .new?Parameter '$s' requires
169
- # an instance of type Str, but a type object was passed. Did you forget a
170
- # .new? in sub limit-lines at <tmp> line 1…»
+ # type object was passed. Did you forget a .new?»
171
172
This is much better than the way the program failed before, since here the
173
reason for failure is clearer.
0 commit comments