Comments (2)
In this language, lambda functions are not closures. They do not capture its surrounding scope. However, you have found a bug in that it should not be possible for this variable to be found.
This bug is fixed in the current build already.
from odin.
Fixed in the latest dev version.
from odin.
Related Issues (20)
- Compiler not erroring when modifying the elements of a @(rodata) array or slice HOT 2
- Compiler panic when passing bit_set to #c_vararg parameter
- Compiler panic: Invalid type conversion HOT 1
- On Unixoids `os.read_dir()` closes the file descriptor passed to it
- `-vet-tabs` may not work under some circumstances HOT 2
- Compiler bug with generics/poly and enumerated array constants.
- Cannot initialize a raw union as a compile-time constant HOT 1
- Segfault when calling vendor:opengl's UniformMatrix4dv HOT 7
- Cannot pass map into function to be inserted into unless you insert into the map beforehand. HOT 3
- core:flags package tries to change permissions of input files defined via os.Handle type HOT 1
- [DOC ISSUE] `intrinsics.wasm_memory_atomic_wait32` and `wasm_memory_atomic_notify_32`
- log performs unnecessary allocations when logger is nil_logger or default_logger
- Prebuilt odin won't run on MacOS 10.13.6 HOT 19
- bug: `expr != nullptr` in a wrong instantiation of a map HOT 4
- `or_else` with diverging procedures behaviour inconsistency HOT 1
- [Odin Test] Ignore ANSI escape codes for non tty outputs HOT 3
- Self-referencing #type proc() declaration crashes compiler in debug mode HOT 4
- add compiler switch to disable the silent implicit dynamic allocation from m[k] = v to a zero length map HOT 9
- type -> any assignment triggers wrong error message HOT 1
- warn when using flag style bitset elements
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 odin.