Commit be1f82e
committed
[CS] Avoid emitting duplicate note for generic argument diagnostic
Since we can run CSGen multiple times, we need to guard the emission
of the note on whether the TypeRepr was already marked invalid (i.e
whether we already emitted a diagnostic for it).1 parent b7519fa commit be1f82e
2 files changed
+24
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1957 | 1957 | | |
1958 | 1958 | | |
1959 | 1959 | | |
| 1960 | + | |
| 1961 | + | |
1960 | 1962 | | |
1961 | 1963 | | |
1962 | 1964 | | |
| |||
1971 | 1973 | | |
1972 | 1974 | | |
1973 | 1975 | | |
| 1976 | + | |
1974 | 1977 | | |
1975 | 1978 | | |
1976 | 1979 | | |
| |||
1980 | 1983 | | |
1981 | 1984 | | |
1982 | 1985 | | |
1983 | | - | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
1984 | 1990 | | |
1985 | 1991 | | |
1986 | | - | |
1987 | | - | |
1988 | | - | |
| 1992 | + | |
1989 | 1993 | | |
1990 | 1994 | | |
1991 | 1995 | | |
1992 | 1996 | | |
1993 | 1997 | | |
1994 | 1998 | | |
1995 | | - | |
| 1999 | + | |
1996 | 2000 | | |
1997 | 2001 | | |
1998 | 2002 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1113 | 1113 | | |
1114 | 1114 | | |
1115 | 1115 | | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
0 commit comments