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

crash: illegal hardware instruction swiftlint #2424

Closed
2 tasks done
caoer opened this issue Sep 28, 2018 · 1 comment
Closed
2 tasks done

crash: illegal hardware instruction swiftlint #2424

caoer opened this issue Sep 28, 2018 · 1 comment
Labels
duplicate Issues that already exist in other terms.

Comments

@caoer
Copy link

caoer commented Sep 28, 2018

New Issue Checklist

Describe the bug

A clear and concise description of what the bug is.

Complete output when running SwiftLint, including the stack trace and command used
$ swiftlint lint

Environment

  • SwiftLint version (run swiftlint version to be sure)?
  • Installation method used (Homebrew, CocoaPods, building from source, etc)?
  • Paste your configuration file:
# insert yaml contents here
  • Are you using nested configurations?
    If so, paste their relative paths and respective contents.
  • Which Xcode version are you using (check xcode-select -p)?
  • Do you have a sample that shows the issue? Run echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
    to quickly test if your example is really demonstrating the issue. If your example is more
    complex, you can use swiftlint lint --path [file here] --no-cache --enable-all-rules.
// This triggers a crash:
        var crash: String {
            switch xx {
            case yy:
                return "\(username)"
            }
        }
@realm-probot realm-probot bot added the O:User label Sep 28, 2018
@marcelofabri
Copy link
Collaborator

Duplicate of #2276

@marcelofabri marcelofabri marked this as a duplicate of #2276 Oct 29, 2018
@marcelofabri marcelofabri added the duplicate Issues that already exist in other terms. label Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues that already exist in other terms.
Projects
None yet
Development

No branches or pull requests

2 participants