Skip to content

Instantly share code, notes, and snippets.

@enjoysmath
Created June 15, 2013 17:50
Show Gist options
  • Save enjoysmath/5788931 to your computer and use it in GitHub Desktop.
Save enjoysmath/5788931 to your computer and use it in GitHub Desktop.
Lols.d(52): Error: cannot index null array null Lols.d(52): called from here: equalsAnyOf(null[0u], ["lols", "lols-d"], cast(CaseSensitive)0)
enum string[] tokens = split (getFirstStringAttribute!T);
static if (! (tokens[0].equalsAnyOf (["lols", "lols-d"]) && tokens.length == 2)) // case insens
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment