Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
1060-Fix-typos-and-improve-language.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1060-Fix-typos-and-improve-language.patch of Package erlang
From 689667b659c8f23669e5ba55b949f728b25ed385 Mon Sep 17 00:00:00 2001 From: preciz <barna.kovacs@tutanota.com> Date: Sun, 28 Jul 2024 21:45:26 +0200 Subject: [PATCH] Fix typos and improve language --- erts/emulator/beam/beam_types.h | 2 +- erts/emulator/test/trace_sessions.erl | 2 +- erts/test/otp_SUITE.erl | 2 +- lib/compiler/internal_doc/cerl-notes.md | 2 +- .../test/indent_SUITE_data/src/record_send_test.erl | 2 +- .../test/r9c_SUITE_data/src/asn1/asn1rt_per.erl | 2 +- lib/stdlib/uc_spec/README-UPDATE.txt | 2 +- lib/xmerl/test/xmerl_xsd_Sun2002-01-16_SUITE.erl | 10 +++++----- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/erts/test/otp_SUITE.erl b/erts/test/otp_SUITE.erl index d523a434f8..244f082ccd 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) -> - %% Applications that do not call erlang:now/1: + %% Applications that do not call erlang:now/0: Apps = [asn1,common_test,compiler,debugger,dialyzer, kernel,mnesia,observer,parsetools,reltool, runtime_tools,sasl,stdlib,syntax_tools, diff --git a/lib/compiler/internal_doc/cerl-notes.md b/lib/compiler/internal_doc/cerl-notes.md index 705fe8f42d..02186e64af 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 87cd97bd85..a6e297950b 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 97c92a2dd1..f3eaa78471 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/xmerl/test/xmerl_xsd_Sun2002-01-16_SUITE.erl b/lib/xmerl/test/xmerl_xsd_Sun2002-01-16_SUITE.erl index 2af6165ee6..c7c10234d7 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 = [], -- 2.43.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor