why? it's a constant
# language-evolution
m
why? it's a constant
2
j
When compiling a module that uses this function, the compiler would need to inline the value of that constant, which might be a problem for backwards compatibility because you should be able to assume that changing a private constant doesn't require re-compiling dependent modules. I find it pretty reasonable that it breaks on constants too. This constant should be
@PublishedApi
in a way if you want to inline it in other modules
👍 1