-
Notifications
You must be signed in to change notification settings - Fork 146
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
the usage of ^.
seems redundant
#3481
Comments
@maxonfjvipon compare this:
and this:
The functionality here is not the same. Am I right? |
@yegor256 yes, they are different |
@maxonfjvipon I guess, the first snippet must be written as:
Thus, we either have |
@yegor256 yes, the first one, if it's not found it'll try to make the second one |
@maxonfjvipon maybe it would be better to make our syntax more explicit: |
@yegor256 Actually yes, I think it's a good idea |
@maxonfjvipon maybe the other way around would be better:
|
@yegor256 it should already work like this |
@maxonfjvipon not really. If I use just
|
@yegor256 yes, if |
@maxonfjvipon this code should not compile:
instead, it should be written as such:
|
bug(#3481): removed `globals-to-abstracts.xsl` + fixed indents in `to-java.xsl`
…d-of-lambdas bug(#3481): use functions instead of lambdas
…-phi bug(#3481): remove `add-refs.xsl`
…-rhos bug(#3481): removed almost all redundant `^.` + improved `tuple` and `seq`
bug(#3481): removed redundant rhos in whole `eo-runtime` + optimized some objects
We use
^.
too often in.eo
files. In the majority of situations this prefix may be skipped and the location of the object will be automatically found by the compiler.The text was updated successfully, but these errors were encountered: