Open kentslaney opened 1 month ago
with the following 2 files...
imported.bend
def test(key): return key + 1 def key(seed): return seed + 2 def main: return test(5)
importer.bend
from imported import test def main: return test(5)
running the two files gives different results, when the expected result is the same since they're making the same call (using bend run)
bend run
2.0.22
0.2.37
archlinux:latest
I think this might be related to #729 but I opened a new issue since it doesn't fail at compile time
It might be a separate issue, but I've also found that importing functions that use fold and bend or list concatenations have altered behavior.
fold
bend
TODO: minimum reproducible example
Reproducing the behavior
with the following 2 files...
imported.bend
importer.bend
running the two files gives different results, when the expected result is the same since they're making the same call (using
bend run
)System Settings
2.0.22
0.2.37
archlinux:latest
docker imageAdditional context
I think this might be related to #729 but I opened a new issue since it doesn't fail at compile time