File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,10 @@ side-effect.
32
32
33
33
Code using the above does not need to return a magic true value when compiled.
34
34
35
- If the module explicitly returns a false value, we should consider if this can
36
- be ignored (I suspect this is usually a bug). However, the module author
37
- _ might_ have conditional logic to explicitly return a false value in case
38
- there's a missing dependency (or for some other reason). Discussion might be
39
- useful here.
35
+ If the module explicitly returns a false value, module loading will fail as it
36
+ does now. If the module author wants the module to fail to load under certain
37
+ conditions, they should die with an appropriate error message rather than
38
+ returning false.
40
39
41
40
## Backwards Compatibility
42
41
You can’t perform that action at this time.
0 commit comments