Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop duplicate declaration of lodash-es/create module #4430

Merged
merged 1 commit into from Apr 10, 2023

Conversation

whut
Copy link
Contributor

@whut whut commented Apr 7, 2023

In current versions of Flow this duplicate cause flow to crash with "Should have been excluded: .$module__lodash-es/create"

I found the log entry when running flow server with --temp-dir flag and looking at the log file generated in this temp dir:

Unhandled exception: (Failure "Should have been excluded: .$module__lodash-es/create") Raised at Stdlib.failwith in file "stdlib.ml", line 29, characters 17-33 Called from Env.init_builtins_from_libdef.(fun) in file "src/typing/env.ml", line 917, characters 6-35

  • Type of contribution: fix

In current versions of Flow this duplicate cause flow to crash with "Should have been excluded: .$module__lodash-es/create"

I found the log entry when running flow server with --temp-dir flag and looking at the log file generated in this temp dir:

Unhandled exception: (Failure "Should have been excluded: .$module__lodash-es/create")
Raised at Stdlib.failwith in file "stdlib.ml", line 29, characters 17-33
Called from Env.init_builtins_from_libdef.(fun) in file "src/typing/env.ml", line 917, characters 6-35
@Brianzchen
Copy link
Member

Oops! That's my bad, will merge once green

@Brianzchen Brianzchen merged commit 8beebb1 into flow-typed:master Apr 10, 2023
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants