Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(#3663): fix warnings for failOnWarning turn ON #3754

Merged
merged 8 commits into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions eo-runtime/src/main/eo/org/eolang/fs/file.eo
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
+rt node eo2js-runtime:0.0.0
+version 0.0.0

# A file on the filesystem.
# The file object in the filesystem.
[path] > file
$.path > @

Expand Down Expand Up @@ -67,13 +67,13 @@
^
^

# Deletes the file and and returns `true`.
# Deletes the file and returns `true`.
#
# Attention! The object is for internal usage only, please
# don't use the object programmatically outside of `file` object.
[] > delete /org.eolang.true

# Get file size in bytes.
# Gets the file size and returns it in bytes.
[] > size /org.eolang.number

# Move current file to `target`, making and returning a new `file` from it.
Expand All @@ -89,7 +89,7 @@
# don't use the object programmatically outside of `file` object.
[] > move /org.eolang.string

# Convert the `file` to `path`.
# Convert the `file` to the `path`.
(QQ.fs.path ^.path).determined > [] > as-path

# Opens the file.
Expand Down
2 changes: 2 additions & 0 deletions eo-runtime/src/main/eo/org/eolang/fs/path.eo
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@
# | root relative | drive relative | other |
# | root relative | root relative | other |
# |--------------------|----------------|-------------------|
# URI Resolution Rules.
[other] > resolved
^.uri > uri-as-bytes!
^.separated-correctly other > valid-other!
Expand Down Expand Up @@ -523,6 +524,7 @@
# | "Hello, Jeff" | "Hello, Jeff" |
# | "" | "" |
# |------------------------------|--------------------|
# Extracting Directory Names from File Paths.
[] > dirname
^.uri > pth!
text > txt
Expand Down
2 changes: 1 addition & 1 deletion eo-runtime/src/main/eo/org/eolang/math/e.eo
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
+package org.eolang.math
+version 0.0.0

# The Euler's number
# The Euler's number.
2.7182818284590452354 > e
2 changes: 1 addition & 1 deletion eo-runtime/src/main/eo/org/eolang/math/real.eo
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
+rt node eo2js-runtime:0.0.0
+version 0.0.0

# Real number.
# Returns a floating point number.
[num] > real
num > @
# Returns Euler's number raised to the power of a `num`.
Expand Down
4 changes: 2 additions & 2 deletions eo-runtime/src/main/eo/org/eolang/nan.eo
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@
# Tests that $ >= x.
false > [x] > gte

# Multiplication of $ and x.
# Returns the multiplication of $ and x.
^ > [x] > times

# Sum of $ and x.
^ > [x] > plus

# Difference between $ and x.
# Returns the difference between $ and x.
^ > [x] > minus

# Quotient of the division of $ by x.
Expand Down
2 changes: 1 addition & 1 deletion eo-runtime/src/main/eo/org/eolang/structs/list.eo
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
[origin] > list
origin > @

# Is it empty?
# Is it empty?.
0.eq ^.origin.length > [] > is-empty

# Create a new list with this element added to the end of it.
Expand Down
Loading