rules_kotlin icon indicating copy to clipboard operation
rules_kotlin copied to clipboard

Suppress `error.NonExistentClass`

Open wanyingd1996 opened this issue 4 years ago • 3 comments

Hi, all. I used AutoFactory in the kotlin file. and it triggered NonExistentClass error. This is supposed to be suppressed by setting correctErrorTypes to true. But in kt_jvm_library, it seems this is hard coded as false? Is there any ways I can override this to make my test work? I did not find any options in the kt_jvm_library rule that allows me to pass in the flag.

wanyingd1996 avatar Nov 22 '21 19:11 wanyingd1996

Ping. Is there any way to enable correctErrorTypes when building a kt_jvm_library?

bcorso avatar Dec 02 '21 00:12 bcorso

I have the same problem

minhdang241 avatar Aug 28 '22 05:08 minhdang241

This PR can fix this issue

mohamadk avatar Nov 02 '22 10:11 mohamadk