-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Bcrypt.verify() throws compiler error #2265
Comments
Here is a zip file: |
@simonedelmann that's expected behaviour because |
@0xTim I see! Still the |
I'm able to re-create this but I have no idea what could be causing it. It seems to crash when calling I've opened an SR here: https://bugs.swift.org/browse/SR-12424 |
Closing this here since there's an SR-12424 tracking the issue. |
If somebody stumbles across this: The original issue SR-12424 regressed, follow https://bugs.swift.org/browse/SR-14543 |
When running
Bcrypt.verify()
viaswift run Run
this always throws a compiler error.Steps to reproduce
Add
one of theselines tomain.swift
:Expected behavior
This should result eithertrue
orfalse
.This should result
true
.Actual behavior
When running via command-line (via
swift run Run
), this throws an compiler error:Correct hash:
Wrong hashEnvironment
I've used a fresh Vapor 4 template (March 25th 18:00 UTC), Xcode 11.4 Release, Swift 5.2 Release
The text was updated successfully, but these errors were encountered: