swift
289840b4 - Add test case for diagnostic 'because_rethrows_default_argument_throws'

Commit
4 years ago
Add test case for diagnostic 'because_rethrows_default_argument_throws' The first test case added ideally shouldn't have any expected error or diagnostic. However, due to SR-1534, there is an error emitted here. Thus, an expected error is used here to show the compiler's behavior today. If SR-1534 is fixed in the future, the first test case should no longer have any expected error nor an expected note. However, the second test case should still be left alone. Addresses SR-14270
Author
Committer
Parents
Loading