File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- | object_literals.swift:5:5:5:42 | #fileLiteral(...) | hasType: | no | getKind: | 0 | getNumberOfArguments: | 1 |
2
- | object_literals.swift:6:5:6:61 | #colorLiteral(...) | hasType: | no | getKind: | 2 | getNumberOfArguments: | 4 |
3
- | object_literals.swift:7:5:7:44 | #imageLiteral(...) | hasType: | no | getKind: | 1 | getNumberOfArguments: | 1 |
1
+ | object_literals.swift:5:5:5:42 | #fileLiteral(...) | hasType: | yes | getKind: | 0 | getNumberOfArguments: | 1 |
2
+ | object_literals.swift:6:5:6:61 | #colorLiteral(...) | hasType: | yes | getKind: | 2 | getNumberOfArguments: | 4 |
3
+ | object_literals.swift:7:5:7:44 | #imageLiteral(...) | hasType: | yes | getKind: | 1 | getNumberOfArguments: | 1 |
Original file line number Diff line number Diff line change
1
+ | object_literals.swift:5:5:5:42 | #fileLiteral(...) | <<error type>> |
2
+ | object_literals.swift:6:5:6:61 | #colorLiteral(...) | <<error type>> |
3
+ | object_literals.swift:7:5:7:44 | #imageLiteral(...) | <<error type>> |
Original file line number Diff line number Diff line change 1
1
//codeql-extractor-expected-status: 1
2
2
3
3
// These require Foundation and UIKit/AppKit to really work
4
- // That is why compilation will fail and the entities will not have a type
4
+ // That is why compilation will fail and the entities will have error types
5
5
_ = #fileLiteral( resourceName: " file.txt " )
6
6
_ = #colorLiteral( red: 255 , green: 255 , blue: 255 , alpha: 50 )
7
7
_ = #imageLiteral( resourceName: " image.gif " )
You can’t perform that action at this time.
0 commit comments