Skip to content

Instantly share code, notes, and snippets.

@FeepingCreature
Created August 3, 2023 08:23
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 FeepingCreature/7d83b57cc9071f6f16e2179c64889023 to your computer and use it in GitHub Desktop.
Save FeepingCreature/7d83b57cc9071f6f16e2179c64889023 to your computer and use it in GitHub Desktop.
auto service1 = ...;
assert(service1 !is null);
Service[] services = [service1, service2];
assert(services[0] !is null); /// this fails??
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment