swift
c33b67ac - Don't allow overloading by opaque types with different constraints.

Commit
6 years ago
Don't allow overloading by opaque types with different constraints. The mangling unfortunately doesn't take the constraints into account, leading to SR-10725 | rdar://problem/50987172. Changing the mangling at this point is hazardous, so it's probably best to disallow this for now.
Author
Committer
Parents
  • lib/AST
    • File
      Decl.cpp
  • test/type
    • File
      opaque.swift