Skip to content

Commit 0ba2bde

Browse files
committed
Remove useless parameters
Fixes "Error: typesafe variadic function parameter `` of type `string` cannot be marked `return`"
1 parent 9e65f52 commit 0ba2bde

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/openmethods.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ struct Method(alias module_, string name, int index)
651651
// ==========================================================================
652652
// Exceptions
653653

654-
static ReturnType notImplementedError(QualParams...)
654+
static ReturnType notImplementedError(/+ QualParams... +/)
655655
{
656656
import std.meta;
657657
errorHandler(new MethodError(MethodError.NotImplemented, &info));
@@ -660,7 +660,7 @@ struct Method(alias module_, string name, int index)
660660
}
661661
}
662662

663-
static ReturnType ambiguousCallError(QualParams...)
663+
static ReturnType ambiguousCallError(/+ QualParams... +/)
664664
{
665665
errorHandler(new MethodError(MethodError.AmbiguousCall, &info));
666666
static if (!is(ReturnType == void)) {

0 commit comments

Comments
 (0)