[SR-8335] Cannot type check MemoryLayout.offset(of:) without specifying base type in keypath #50863
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Swift version 4.2-dev (LLVM 748f9878c8, Clang 6c624d9bad, Swift b5eebe9e89)
Target: x86_64-apple-darwin17.6.0
Additional Detail from JIRA
md5: 3671c992406710f9f7f1ebb4aaa93511
duplicates:
Issue Description:
The following doesn't compile:
The text was updated successfully, but these errors were encountered: