swiftlang/swift

[SR-14443] [C++] Don't crash on invalid dependent values.

Fermée

#56 799 ouverte le 3 avr. 2021

 (13 commentaires) (0 réaction) (0 personne assignée)Swift (10 719 forks)batch import
bugc++ interopcompilergood first issue

Métriques du dépôt

Stars
 (69 989 étoiles)
Métriques de merge PR
 (Merge moyen 8j 17h) (510 PRs mergées en 30 j)

Description

Previous ID SR-14443
Radar rdar://problem/83367285
Original Reporter @zoecarver
Type Bug
Votes 0
Component/s Compiler
Labels Bug, CxxInterop, StarterBug
Assignee Rajagopalan (JIRA)
Priority Medium

md5: f34665bb62c6ff5d157cb3bd483d8006

Issue Description:

A while theindigamer (JIRA User) found this compiler crasher and I never got around to fixing it or creating a bug for it.

struct S {};
template <class T>
 struct IsSubtypeSame {
   static constexpr const S value = T();
};

using Invalid = IsSubtypeSame<int>;

Guide contributeur