mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This is all goodness, and eliminates a major source of implicit conversions. One thing this regresses on though, is that we now reject "x == nil" where x is an option type and the element of the optional is not Equtatable. If this is important, there are ways to enable this, but directly testing it as a logic value is more straight-forward. This does not include support for pattern matching against nil, that will be a follow on patch. Swift SVN r18918
13 lines
545 B
Swift
13 lines
545 B
Swift
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See http://swift.org/LICENSE.txt for license information
|
|
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// FIXME: Remove this file. |