swiftlang/swift

[SR-9336] importing structures with anonymous fields crashes the ClangImporter

Open

#51,806 opened on Nov 25, 2018

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Swift (10,719 forks)batch import
AndroidLinuxWindowscompilergood first issueimprovement

Repository metrics

Stars
 (69,989 stars)
PR merge metrics
 (Avg merge 8d 17h) (510 merged PRs in 30d)

Description

Previous ID SR-9336
Radar None
Original Reporter @compnerd
Type Improvement
Votes 0
Component/s Compiler
Labels Improvement, Android, ClangImporter, Linux, StarterBug, Windows
Assignee None
Priority Medium

md5: e340d6800850b57905470aa79f4a8815

Issue Description:

Seems that the typo correction on windows asserts trying to create an anonymous field accessor. This occurred at least in Data.swift in swift-corelibs-foundation trying to typo correct munmap.

Contributor guide