Description
Note that the function return type was defined as non-null and, as you can see in the debugger, the specific key being looked up points to a null.
My suspicion (without digging deep into the code) is that the recursive declaration (line 530 of the schema) might be causing the null?
Describe the bug
Attempt to return null on a non-null return during generation.
Expected behavior
Generation should have succeeded.
Schema
https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json
Version:
0.23 (generator) / 0.18 (interfaces)
Additionally, the patternProperties
regex check in BaseProcessor
line 171 is triggering a failure for pattern ^/(html|css|js)/[^/\n\r]+$
, which to me looks fine, but maybe I'm missing the purpose of the check.