Skip to content

Commit 0580d49

Browse files
authored
Merge pull request #3819 from uchitsa/3663-fail-on-warning-on
bug(#3663): fix warnings for failOnWarning turn ON
2 parents cac0bc5 + a8b6e14 commit 0580d49

8 files changed

Lines changed: 20 additions & 6 deletions

File tree

eo-runtime/src/main/eo/org/eolang/bytes.eo

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,11 @@
5858
* ^
5959

6060
# Equals to another object.
61+
# A condition where two objects have the same value or content.
6162
[b] > eq /org.eolang.bool
6263

6364
# Total number of bytes.
65+
# The complete count of bytes used to represent data.
6466
[] > size /org.eolang.number
6567

6668
# Represents a sub-sequence inside the current one.
@@ -102,22 +104,22 @@
102104
"Can't convert non 2 length bytes to i16, bytes are %x"
103105
* ^
104106

105-
# Calculate bitwise and.
107+
# Calculate the bitwise and operation.
106108
[b] > and /org.eolang.bytes
107109

108-
# Calculate bitwise or.
110+
# Calculate the bitwise or operation.
109111
[b] > or /org.eolang.bytes
110112

111-
# Calculate bitwise xor.
113+
# Calculate the bitwise xor operation.
112114
[b] > xor /org.eolang.bytes
113115

114-
# Calculate bitwise not.
116+
# Calculate the bitwise not operation.
115117
[] > not /org.eolang.bytes
116118

117-
# Calculate bitwise left shift.
119+
# Calculate the bitwise left shift.
118120
^.right x.neg > [x] > left
119121

120-
# Calculate bitwise right shift.
122+
# Calculate the bitwise right shift.
121123
[x] > right /org.eolang.bytes
122124

123125
# Concatenation of two byte sequences:

eo-runtime/src/main/eo/org/eolang/false.eo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
right > [left right] > if
3636

3737
# And.
38+
# A logical operation that returns True only if all given conditions are true.
3839
^ > [x] > and
3940

4041
# Or.
42+
# A logical operation that returns True if at least one of the given conditions is true.
4143
01-.eq x > [x] > or

eo-runtime/src/main/eo/org/eolang/fs/path.eo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
^.posix.separator
6666

6767
# POSIX specified path.
68+
# A standardized way to represent file or directory locations in a Unix-like system.
6869
[uri] > posix
6970
$ > determined
7071
"/" > separator

eo-runtime/src/main/eo/org/eolang/math/angle.eo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
+version 0.0.0
3030

3131
# The angle.
32+
# A measure of how much something is tilted or rotated, measured in degrees or radians.
33+
# When dataized, it shows direction or how two lines meet.
3234
[value] > angle
3335
value > @
3436
# Converts this from radians to degrees.

eo-runtime/src/main/eo/org/eolang/math/real.eo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
(QQ.math.real e).pow num > exp
3636

3737
# Calculate MOD.
38+
# An operation that finds the remainder after dividing one number by another.
3839
[x] > mod
3940
number ^.num.as-bytes > dividend
4041
number x.as-bytes > divisor
@@ -64,6 +65,7 @@
6465
value.neg
6566

6667
# Make `^.num` power `x`.
68+
# An operation that raises ^.num (a number) to the power of x.
6769
[x] > pow /org.eolang.number
6870

6971
# Returns the positive square root of a `num`.
@@ -76,4 +78,5 @@
7678
[] > acos /org.eolang.number
7779

7880
# Calculates arc sine of a `num`.
81+
# An operation that finds the angle whose sine is num.
7982
[] > asin /org.eolang.number

eo-runtime/src/main/eo/org/eolang/structs/list.eo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
origin > @
3333

3434
# Is it empty?.
35+
# A check to determine if an object contains no elements or data.
3536
0.eq ^.origin.length > [] > is-empty
3637

3738
# Create a new list with this element added to the end of it.

eo-runtime/src/main/eo/org/eolang/true.eo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
left > [left right] > if
3636

3737
# And.
38+
# A logical operation that returns True only if all given conditions are true.
3839
01-.eq x > [x] > and
3940

4041
# Or.
42+
# A logical operation that returns True if at least one of the given conditions is true.
4143
^ > [x] > or

eo-runtime/src/main/eo/org/eolang/txt/text.eo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
+unlint broken-ref
3333

3434
# Text.
35+
# A sequence of characters representing words, sentences, or data.
3536
# @todo #3481:30min Remove all +unlit broken-ref from EO source code.
3637
# These suppressions were added in order to be compile EO when @ref attribute
3738
# from XMIR is removed, by it's checked by LintMojo. We need to remove these

0 commit comments

Comments
 (0)