Comments (3)
This is not possible due C compilers.
main__Foo _const_main__foo5; // inited later main__Foo _const_main__foo2; // inited later Array_fixed_int_2 _const_main__foos = {_const_main__foo5.index, _const_main__foo2.index}; // fixed array const.index is not even initialized for such operation. We should added a checker error.
What about initializing it in _vinit
?
from v.
This is not possible due C compilers.
main__Foo _const_main__foo5; // inited later
main__Foo _const_main__foo2; // inited later
Array_fixed_int_2 _const_main__foos = {_const_main__foo5.index, _const_main__foo2.index}; // fixed array const
.index is not even initialized for such operation. We should added a checker error.
from v.
This is not possible due C compilers.
main__Foo _const_main__foo5; // inited later main__Foo _const_main__foo2; // inited later Array_fixed_int_2 _const_main__foos = {_const_main__foo5.index, _const_main__foo2.index}; // fixed array const.index is not even initialized for such operation. We should added a checker error.
What about initializing it in
_vinit
?
Hmm yeah. Maybe could be a solution, we must check It. Thanks.
from v.
Related Issues (20)
- Matlab/Pytorch/Numpy syntax for multidimensional array indexing and slicing
- bug in examples/vweb_fullstack/src/auth_services.v service_auth function
- Add explicit preload/join feature to ORM
- Method duplication exception after running **v up** (pref.c.v and pref.v) HOT 3
- Library not found on compilation HOT 3
- cannot use modules that use mbedtls on macos arm with tcc HOT 2
- Long function signatures should break HOT 8
- Empty lines after function signature are removed HOT 1
- a V compiler bug
- I want to use this if
- The "Array Slices" section in the V documentation is incorrect HOT 5
- operator overloading not work: invalid operator `+` to `voidptr` and `voidptr` HOT 5
- v broken again on freebsd when using clang, the default compiler HOT 1
- Compiler bug when trying to return an interface-optional with a fallback default value
- Sorting an array of references HOT 9
- Building 0.4.6 release: `V panic: No such file or directory; code: 2` HOT 13
- V allows duplicated operator method
- x &&= y is not implemented HOT 4
- x.json2 fails to decode a map with number keys HOT 2
- eof ignored because of <> HOT 1
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 v.