Comments (2)
Not really a bug, some variables names are present in _ENV
and _G
, in case there is a symbol name conflict the user must index symbols
table instead, so use symbols.context.value
instead of context.value
in that case.
Name conflicts are expected, Lua has many names reserved already like table
, string
, type
.. Any symbol using those names must be indexed via symbols
table.
from nelua-lang.
That makes sense, I'll close the issue.
from nelua-lang.
Related Issues (20)
- Multiple variable decl followed by pointer type usage yields invalid type error HOT 4
- Internal analyzer.lua error failure when returning multiple records from a require() HOT 1
- If the 'string' module is required into elided code, generated C doesn't define nelua_nlstring___eq HOT 1
- Implicit generation of function when directly calling function on require()d namespace
- C code tries to initialize nltype with 0 in strange errorhandling / assert / module interaction HOT 3
- Reassigned 'auto' parameter, inferred to have type 'nilptr', compiles to assignment to NULL HOT 10
- `<deprecated>` is silenced by type inference HOT 1
- Defer fails to modify return values when a function has multiple return values HOT 6
- cgenerator.lua assertion error when an auto parameter takes (notbool and bool or bool) HOT 1
- Preprocessor can't generate switch cases HOT 3
- (@span(byte)){...} ordered field cast permits invalid, rejects valid construction HOT 1
- Executables reflect compile-time isatty conditions HOT 3
- <comptime> record parameters can't be provided; fields can't be used in runtime code HOT 1
- Copyright timespan needs update HOT 3
- Invalid unitname generated for directories that look like numeric literals HOT 1
- No line number in error if a hashmap index has a type error
- Range check error messages point to library code (point of check) rather than user code (point of error) HOT 1
- Function variables can collide with C identifiers HOT 1
- Confusing errors with varargs
- Permit function returns in generic instantiation, not just types
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nelua-lang.