mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Turns out my code for this has been wrong all this time and hasn't been been including leading zeros for each hex byte.
4 lines
363 B
Swift
4 lines
363 B
Swift
// {"kind":"typecheck","signature":"lookupReplacedDecl(swift::DeclNameRef, swift::DeclAttribute const*, swift::ValueDecl const*, llvm::SmallVectorImpl<swift::ValueDecl*>&)","signatureAssert":"Assertion failed: (declCtxt->isTypeContext()), function lookupReplacedDecl"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
{ @_dynamicReplacement(for: ) func a
|