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

[doc] add the empty parameter for text in readme.md #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yankay
Copy link

@yankay yankay commented May 16, 2024

Following the #66 , the PR is to add the empty parameter list to calls to geny's text() method.

Because when I try to run with scala-3.4.1 with r.text , it fails with

[info] compiling 1 Scala source to /tmp/s/target/scala-3.4.1/classes ...
[error] -- [E100] Syntax Error: /tmp/s/src/main/scala/Main.scala:7:5 -------------------
[error] 7 |  r2.text
[error]   |  ^^^^^^^
[error]   |  method text in trait ByteData must be called with () argument
[error]   |
[error]   | longer explanation available when compiling with `-explain`
[error] one error found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 5 s, completed May 16, 2024, 12:35:38 PM

@yankay yankay changed the title [docs] add the empty parameter for text in readme.md [doc] add the empty parameter for text in readme.md May 16, 2024
@yankay yankay closed this May 26, 2024
@yankay yankay reopened this May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant