Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/dub.sdl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name "sslltest"
dependency "ssll" path=".."
dflags "-betterC" "-preview=dip25" "-preview=dip1000" "-preview=dip1008"
dflags "-betterC" "-preview=dip1000" "-preview=dip1008"
#subConfiguration "ssll" "check-loading-symbols-on-call"
6 changes: 5 additions & 1 deletion source/ssll.d
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,11 @@ template funcsByUDA(alias symbol, uda)
{
template impl(lst...)
{
static if (lst.length == 1)
static if (lst.length == 0)
{
alias impl = AliasSeq!();
}
else static if (lst.length == 1)
{
static if (is(typeof(__traits(getMember, symbol, lst[0])) == function))
{
Expand Down