Remove LiteralTypeForLiteral
by creating IsInstance
function
#5909
37.77% of diff hit (target 36.97%)
View this Pull Request on Codecov
37.77% of diff hit (target 36.97%)
Annotations
Check warning on line 221 in flytepropeller/pkg/compiler/errors/compiler_errors.go
codecov / codecov/patch
flytepropeller/pkg/compiler/errors/compiler_errors.go#L216-L221
Added lines #L216 - L221 were not covered by tests
Check warning on line 178 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L175-L178
Added lines #L175 - L178 were not covered by tests
Check warning on line 181 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L180-L181
Added lines #L180 - L181 were not covered by tests
Check warning on line 184 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L183-L184
Added lines #L183 - L184 were not covered by tests
Check warning on line 200 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L199-L200
Added lines #L199 - L200 were not covered by tests
Check warning on line 205 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L203-L205
Added lines #L203 - L205 were not covered by tests
Check warning on line 213 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L212-L213
Added lines #L212 - L213 were not covered by tests
Check warning on line 224 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L223-L224
Added lines #L223 - L224 were not covered by tests
Check warning on line 234 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L233-L234
Added lines #L233 - L234 were not covered by tests
Check warning on line 237 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L237
Added line #L237 was not covered by tests
Check warning on line 253 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L247-L253
Added lines #L247 - L253 were not covered by tests
Check warning on line 256 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L256
Added line #L256 was not covered by tests
Check warning on line 266 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L263-L266
Added lines #L263 - L266 were not covered by tests
Check warning on line 271 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L268-L271
Added lines #L268 - L271 were not covered by tests
Check warning on line 276 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L274-L276
Added lines #L274 - L276 were not covered by tests
Check warning on line 278 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L278
Added line #L278 was not covered by tests
Check warning on line 289 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L285-L289
Added lines #L285 - L289 were not covered by tests
Check warning on line 296 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L291-L296
Added lines #L291 - L296 were not covered by tests
Check warning on line 300 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L298-L300
Added lines #L298 - L300 were not covered by tests
Check warning on line 310 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L308-L310
Added lines #L308 - L310 were not covered by tests
Check warning on line 312 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L312
Added line #L312 was not covered by tests
Check warning on line 321 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L314-L321
Added lines #L314 - L321 were not covered by tests
Check warning on line 326 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L323-L326
Added lines #L323 - L326 were not covered by tests
Check warning on line 330 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L328-L330
Added lines #L328 - L330 were not covered by tests
Check warning on line 359 in flytepropeller/pkg/compiler/validators/utils.go
codecov / codecov/patch
flytepropeller/pkg/compiler/validators/utils.go#L353-L359
Added lines #L353 - L359 were not covered by tests