probably because evalScope isn't finished when eval runs. the call of evalScope in injectPatternMethods needs to be returned + injectPatternMethods() in evaluate needs to be awaited. this doesn't happen in the main repl for some reason (maybe some other thing is awaited that shadows this issue)
probably because evalScope isn't finished when eval runs. the call of
evalScope
ininjectPatternMethods
needs to be returned +injectPatternMethods()
inevaluate
needs to be awaited. this doesn't happen in the main repl for some reason (maybe some other thing is awaited that shadows this issue)