Skip to content

Standard.Prelude needed as main = 6 * 7 no longer works #8852

Open
@JaroslavTulach

Description

@JaroslavTulach

In reflection of:

Various operators are no longer exposed as builtins since #8779. As a result they are no longer available in programs without imports. E.g.:

main = 6 * 7

fails with Type_Error. The change in #8779 is desirable, as builtin operators have various restrictions and should be hidden from public (builtins don't support the "that conversion" introduced by #8779; they cannot be invoked as statics - #6282).

However the current limitations are unbearable. Basic operations with literals have to be available without any imports!

### Tasks
- [ ] Enable following TCK test: https://github.com/enso-org/enso/pull/8779#discussion_r1467850659

Metadata

Metadata

Labels

--breakingImportant: a change that will break a public API or user-facing behaviour--bugType: bug--regressionImportant: regression-compiler-libsLibraries: New libraries to be implemented

Type

No type

Projects

Status

📤 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions