Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0201-rdar53120878.swift
Doug Gregor 118a557304 [SE-0258] Check for a NULL type.
Within invalid code, we might encounter expressions without type
information yet. Check for NULL here.

Fixes crash from rdar://problem/53120878.
2019-07-19 10:26:26 -07:00

5 lines
178 B
Swift

// RUN: not %target-swift-frontend -typecheck %s
public struct Use { @Wrap var value: some Doubl = 1.0 }
@propertyWrapper public struct Wrap { public var wrappedValue: Double }