{"push_id":1377327345,"size":4,"distinct_size":4,"ref":"refs/heads/master","head":"cd74545276818bd6f0adfa83b69d8beb3eebf16c","before":"da7604cff270240071e86fbc164c143d723b0636","commits":[{"sha":"96669b4c3e266900891a0bf546f48eb018016ec3","author":{"name":"practicalswift","email":"7bc8dfe66114fb97ee9aed052bc05e17800b570f@users.noreply.github.com"},"message":"[swiftc (86 vs. 5179)] Add crasher at assert(hasVal)\n\nAdd test case for crash triggered in `?`.\n\nCurrent number of unresolved compiler crashers: 86 (5179 resolved)\n\nAssertion failure in `llvm/include/llvm/ADT/Optional.h (line 138)`:\n\n```\nAssertion `hasVal' failed.\n\nWhen executing: T &&llvm::Optional<swift::constraints::SelectedOverload>::operator*() && [T = swift::constraints::SelectedOverload]\n```\n\nAssertion context:\n\n```\n    return hasValue() ? getValue() : std::forward<U>(value);\n  }\n\n#if LLVM_HAS_RVALUE_REFERENCE_THIS\n  T&& getValue() && { assert(hasVal); return std::move(*getPointer()); }\n  T&& operator*() && { assert(hasVal); return std::move(*getPointer()); }\n\n  template <typename U>\n  T getValueOr(U &&value) && {\n    return hasValue() ? std::move(getValue()) : std::forward<U>(value);\n  }\n```\nStack trace:\n\n```\nswift: /path/to/llvm/include/llvm/ADT/Optional.h:138: T &&llvm::Optional<swift::constraints::SelectedOverload>::operator*() && [T = swift::constraints::SelectedOverload]: Assertion `hasVal' failed.\nStack dump:\n0.\tProgram arguments: /path/to/swift/bin/swift -frontend -c -primary-file validation-test/compiler_crashers/28454-hasval-failed.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -module-name main -o /tmp/28454-hasval-failed-f00cda.o\n1.\tWhile type-checking expression at [validation-test/compiler_crashers/28454-hasval-failed.swift:10:1 - line:10:4] RangeText=\".A[]\"\n2.\tWhile type-checking expression at [validation-test/compiler_crashers/28454-hasval-failed.swift:10:1 - line:10:4] RangeText=\".A[]\"\n<unknown>:0: error: unable to execute command: Aborted\n<unknown>:0: error: compile command failed due to signal (use -v to see invocation)\n```","distinct":true,"url":"https://api.github.com/repos/shajrawi/swift/commits/96669b4c3e266900891a0bf546f48eb018016ec3"},{"sha":"003a447c18b0e588339293cd11e2af8bf08f69b4","author":{"name":"Joe Shajrawi","email":"cf8dfb1887e7e145e1252a5cd2937885bfadc835@apple.com"},"message":"[SILOptimizer] ctlz support in constant propagation - code style fix","distinct":true,"url":"https://api.github.com/repos/shajrawi/swift/commits/003a447c18b0e588339293cd11e2af8bf08f69b4"},{"sha":"4d05096ec3e8a6258f985f6bf0e57ba93cafa32f","author":{"name":"swift-ci","email":"ba4463bdeeb747bfa14a6c06d0b8d74a99982bde@users.noreply.github.com"},"message":"Merge pull request #5554 from practicalswift/swiftc-28454-hasval-failed","distinct":true,"url":"https://api.github.com/repos/shajrawi/swift/commits/4d05096ec3e8a6258f985f6bf0e57ba93cafa32f"},{"sha":"cd74545276818bd6f0adfa83b69d8beb3eebf16c","author":{"name":"Joe Shajrawi","email":"cf8dfb1887e7e145e1252a5cd2937885bfadc835@apple.com"},"message":"Merge pull request #5555 from shajrawi/constant_propagation_int_ctlz_syling\n\n[SILOptimizer] ctlz support in constant propagation - code style fix","distinct":true,"url":"https://api.github.com/repos/shajrawi/swift/commits/cd74545276818bd6f0adfa83b69d8beb3eebf16c"}]}
{"actor":{"display_login":"shajrawi"}}