https://kotlinlang.org logo
Title
p

pavlospt

09/18/2018, 9:10 AM
So I think that there is a broader issue here not just regarding
ObjectPropertyNaming
. I have tried changing almost every regex in the config and still get specific issues reported, which is wrong. That leads me to think that custom values are not picked up. I am worried that I might have broken something when added
LazyRegex
in the sense of a
Config
picking up custom values and instantiating those Regexes instantly, but later on these fields being mutated and essentially nullified, leading to
LazyRegex
picking up the default value when it’s time to execute for the first time. I am not sure if my thoughts are towards the correct direction, but it seems urgent enough to resolve this before going for v1.0.0.
m

mauin

09/18/2018, 9:14 AM
One thing I've checked and which was quite helpful is using the
--debug
flag as it will print the whole config that is going to be used in a parsed form. That should allow us to verify if the problem lies somewhere in parsing the config or if the config is correct but something is using it incorrectly. Thanks for looking into this @pavlospt!
p

pavlospt

09/18/2018, 9:16 AM
It’s the latter as the printed form is correct!
m

mauin

09/18/2018, 9:21 AM
Okay, that's already very good to know
p

pavlospt

09/18/2018, 11:07 AM
@mauin if you investigate it and/or need any help further ping me 🙂
m

mauin

09/18/2018, 11:11 AM
I unfortunately won't have time the rest of this week. I might be able to look into it a bit on the weekend but cannot guarantee that
👍 1
m

mickele

09/18/2018, 2:41 PM
I’m having the same issue with RC9 and I suspect the same, custom patterns are not being respected it seems.
s

skennedy

09/18/2018, 5:35 PM
yeah,
--debug
prints out the correct config for me, but it’s not respecting it