JuliaLang / JuliaLang/JuliaSyntax.jl

`import as if`

Open
#384 3 comments 0 reactions 0 assignees View on GitHub
syntax change
Dominant language
Julia
Stars
293
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Not sure if this is supposed to be allowed, or if it's supposed to be an error (in which case I think it would be better to error when importing).
```julia
julia> import InverseFunctions as if

julia> if.square(sqrt(2))
ERROR: ParseError:
# Error @ REPL[26]:1:3
if.square(sqrt(2))
# ╙ ── invalid identifier
Stacktrace:
[1] top-level scope
@ none:1
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.