databricks / sjsonnet

Apache License 2.0
266 stars 54 forks source link

sjsonnet does not support recursive functions/tailstrict #189

Open raymondji-db opened 1 year ago

raymondji-db commented 1 year ago

Recursive function test is commented out: https://github.com/databricks/sjsonnet/blob/master/sjsonnet/test/src-jvm-native/sjsonnet/FileTests.scala#L56

When attempting to compile a jsonnet file with tailstrict:

sjsonnet.ParseError: Expected ";":30:23, found "tailstrict"
    at .(../sjsonnet/sjsonnet/test/resources/test_suite/recursive_function.jsonnet:30:23)