diff --git a/erts/emulator/beam/beam_types.h b/erts/emulator/beam/beam_types.h index 84368462c55b..3d69fd0ce8b4 100644 --- a/erts/emulator/beam/beam_types.h +++ b/erts/emulator/beam/beam_types.h @@ -22,7 +22,7 @@ * @description Basic type representation for BEAM instruction operands. * @file beam_types.h * - * While the compiler is good eliminating redundant type tests and simplifying + * While the compiler is good at eliminating redundant type tests and simplifying * instructions, we're limited by the available instructions and it's not * always worthwhile to add new variants. * diff --git a/erts/emulator/test/trace_sessions.erl b/erts/emulator/test/trace_sessions.erl index ea3e6e00a98c..b544bc524d59 100644 --- a/erts/emulator/test/trace_sessions.erl +++ b/erts/emulator/test/trace_sessions.erl @@ -42,7 +42,7 @@ group_map() -> %%legacy_pre_session => [pre_session], %%legacy_post_session => [post_session], legacy_pre_post => [pre_session, post_session], - %%dynamic_sesssion => [dynamic_session] + %%dynamic_session => [dynamic_session] dynamic_pre_post => [pre_session, post_session, dynamic_session] }. diff --git a/erts/test/otp_SUITE.erl b/erts/test/otp_SUITE.erl index d523a434f8e8..244f082ccd4b 100644 --- a/erts/test/otp_SUITE.erl +++ b/erts/test/otp_SUITE.erl @@ -228,7 +228,7 @@ call_to_size_1(Config) when is_list(Config) -> not_recommended_calls(Config, Apps, {erlang,size,1}). call_to_now_0(Config) when is_list(Config) -> - %% Forbid the use of erlang:now/1 in all applications except et. + %% Forbid the use of erlang:now/0 in all applications except et. Apps = all_otp_applications(Config) -- [et], not_recommended_calls(Config, Apps, {erlang,now,0}). diff --git a/lib/compiler/internal_doc/cerl-notes.md b/lib/compiler/internal_doc/cerl-notes.md index 705fe8f42d8c..02186e64af01 100644 --- a/lib/compiler/internal_doc/cerl-notes.md +++ b/lib/compiler/internal_doc/cerl-notes.md @@ -53,7 +53,7 @@ Thus, after inlining the function `t/0` will look like this: V. The problem here is that the inliner assumed that the bindings from -the first and second call to `cer_clauses:match/3` would be the same. +the first and second call to `cerl_clauses:match/3` would be the same. It used the empty bindings from the first call for the body. The correct way would be to add the bindings from the second call: diff --git a/lib/dialyzer/test/indent_SUITE_data/src/record_send_test.erl b/lib/dialyzer/test/indent_SUITE_data/src/record_send_test.erl index 87cd97bd85de..a6e297950b44 100644 --- a/lib/dialyzer/test/indent_SUITE_data/src/record_send_test.erl +++ b/lib/dialyzer/test/indent_SUITE_data/src/record_send_test.erl @@ -4,7 +4,7 @@ %% Description : A test inspired by a post of Mkcael Remond to the %% Erlang mailing list suggesting thst Dialyzer should %% be reporting sends to records rather than to pids. -%% Dialyzer v1.3.0 indeed reports one of the dicrepancies +%% Dialyzer v1.3.0 indeed reports one of the discrepancies %% (the one with the 4-tuple) but not the one where the %% message is sent to a pair which is a record. %% This should be fixed. diff --git a/lib/dialyzer/test/r9c_SUITE_data/src/asn1/asn1rt_per.erl b/lib/dialyzer/test/r9c_SUITE_data/src/asn1/asn1rt_per.erl index 97c92a2dd176..f3eaa7847193 100644 --- a/lib/dialyzer/test/r9c_SUITE_data/src/asn1/asn1rt_per.erl +++ b/lib/dialyzer/test/r9c_SUITE_data/src/asn1/asn1rt_per.erl @@ -1346,7 +1346,7 @@ create_char_tab(_Min,[],_V) -> create_char_tab(Min,L,V) -> [false|create_char_tab(Min+1,L,V)]. -%% This very inefficient and should be moved to compiletime +%% This is very inefficient and should be moved to compile time charbits(NumOfChars,aligned) -> case charbits(NumOfChars) of 1 -> 1; diff --git a/lib/stdlib/uc_spec/README-UPDATE.txt b/lib/stdlib/uc_spec/README-UPDATE.txt index 0bf611761168..95f829b2fa8b 100644 --- a/lib/stdlib/uc_spec/README-UPDATE.txt +++ b/lib/stdlib/uc_spec/README-UPDATE.txt @@ -31,7 +31,7 @@ version in lib/stdlib/uc_spec/gen_unicode_mod.escript 4. Read the release notes by visiting https://www.unicode.org/versions/latest/ and assess if additional changes are necessary in the Erlang code. -5. Replace all ocurrences of previous version of Unicode with the new one in +5. Replace all occurrences of the previous version of Unicode with the new one in this very same file (lib/stdlib/uc_spec/README-UPDATE.txt). Remember to update these instructions if a new file is added or any other change is required for future version updates. diff --git a/lib/xmerl/test/xmerl_xsd_Sun2002-01-16_SUITE.erl b/lib/xmerl/test/xmerl_xsd_Sun2002-01-16_SUITE.erl index 2af6165ee675..c7c10234d778 100644 --- a/lib/xmerl/test/xmerl_xsd_Sun2002-01-16_SUITE.erl +++ b/lib/xmerl/test/xmerl_xsd_Sun2002-01-16_SUITE.erl @@ -71,7 +71,7 @@ init_per_testcase(TestCase,Config) -> end_per_testcase(_Func,_Config) -> ok. -%% ID Constranints. Very naive test of identity constraint +%% ID Constraints. Very naive test of identity constraint 'Sun-idc001.nogen'(Config) when is_list(Config) -> STResList0 = [], @@ -88,7 +88,7 @@ end_per_testcase(_Func,_Config) -> xmerl_xsd_lib:compare_test_results(Config,STResList1,ITResList3). -%% ID Constranints. Reference to an undeclared key +%% ID Constraints. Reference to an undeclared key 'Sun-idc002.e'(Config) when is_list(Config) -> STResList0 = [], @@ -98,7 +98,7 @@ end_per_testcase(_Func,_Config) -> xmerl_xsd_lib:compare_test_results(Config,STResList1,[]). -%% ID Constranints. Reference to an undeclared key in an undeclared namespace +%% ID Constraints. Reference to an undeclared key in an undeclared namespace 'Sun-idc002b.e'(Config) when is_list(Config) -> STResList0 = [], @@ -108,7 +108,7 @@ end_per_testcase(_Func,_Config) -> xmerl_xsd_lib:compare_test_results(Config,STResList1,[]). -%% ID Constranints. Reference to non-key constraint. +%% ID Constraints. Reference to non-key constraint. 'Sun-idc003.e'(Config) when is_list(Config) -> STResList0 = [], @@ -118,7 +118,7 @@ end_per_testcase(_Func,_Config) -> xmerl_xsd_lib:compare_test_results(Config,STResList1,[]). -%% ID Constranints. +%% ID Constraints. 'Sun-idc004.nogen'(Config) when is_list(Config) -> STResList0 = [],