diff options
author | John Högberg <[email protected]> | 2019-02-27 15:19:26 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2019-02-27 15:19:57 +0100 |
commit | 69d2b9c3c8d6cde36b1f8b64f17f183b840a04b6 (patch) | |
tree | d4fb87dad267a4f6f9d7e8610e5a91ef38bc64e8 /lib/compiler/src | |
parent | 1d78eea0306f560f6219fa34e0f5f9689f9e613c (diff) | |
download | otp-69d2b9c3c8d6cde36b1f8b64f17f183b840a04b6.tar.gz otp-69d2b9c3c8d6cde36b1f8b64f17f183b840a04b6.tar.bz2 otp-69d2b9c3c8d6cde36b1f8b64f17f183b840a04b6.zip |
beam_validator: Clarify a comment
Diffstat (limited to 'lib/compiler/src')
-rw-r--r-- | lib/compiler/src/beam_validator.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_validator.erl b/lib/compiler/src/beam_validator.erl index af0aded85c..296c095be2 100644 --- a/lib/compiler/src/beam_validator.erl +++ b/lib/compiler/src/beam_validator.erl @@ -706,7 +706,7 @@ valfun_4({bif,Op,{f,Fail},Ss,Dst}, Vst0) -> Vst1 = branch_state(Fail, Vst0), %% Infer argument types. Note that we can't type_test in the general case - %% as the BIF could fail for reasons other than bad arguments. + %% as the BIF could fail for reasons other than bad argument types. ArgTypes = bif_arg_types(Op, Ss), Vst = foldl(fun({Arg, T}, Vsti) -> update_type(fun meet/2, T, Arg, Vsti) |