effekt-lang / effekt-lang/effekt
Module name clash with prelude leads to cryptic error
Open
bug
- Dominant language
- Scala
- Stars
- 469
- Forks
- 41
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 23
Description
I've noticed the following when giving a demo, some students managed to reproduce it.
### Repro
Make a file called `stream.effekt` and put a Hello World inside it:
```scala
def main() = println("hello")
// ERROR: Cannot find a function named `println`.
```
I think this is caused by the implicit [?] module name clashing with the `stream` module in Prelude.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.