Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer compiles with dmd #1

Open
CosmicToast opened this issue Feb 24, 2019 · 0 comments · May be fixed by #2
Open

No longer compiles with dmd #1

CosmicToast opened this issue Feb 24, 2019 · 0 comments · May be fixed by #2

Comments

@CosmicToast
Copy link

Errors in question:

hashids-1.0.0/hashids/source/hashids.d(28,21): Error: cannot implicitly convert expression str.length - 1LU of type ulong to int
hashids-1.0.0/hashids/source/hashids.d(97,28): Error: cannot implicitly convert expression cast(ulong)sepslength - this.seps.length of type ulong to int
hashids-1.0.0/hashids/source/hashids.d(151,23): Error: cannot implicitly convert expression alphas.length / 2LU of type ulong to int
hashids-1.0.0/hashids/source/hashids.d(156,26): Error: cannot implicitly convert expression res.length - cast(ulong)this.minHashLength of type ulong to int
/usr/bin/dmd failed with exit code 1.
/usr/bin/dmd failed with exit code 1.

dmd --version output: DMD64 D Compiler v2.084.0
dub --version output: DUB version 1.13.0, built on Jan 05 2019

@echozio echozio linked a pull request Aug 16, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant