Comments (9)
You should be able to disable the warning with -Wno-missing-field-initializers
or whatever your compiler documentation says on disabling warnings.
from luau.
I would suggest improving the code with a constructor that just takes a single argument that sets the member you want to initialise. I think this would compile without warnings.
from luau.
We do not plan to make that change and will not accept PRs changing this code.
We will disable that warning in the CMake or will accept a PR that disables it.
from luau.
Ok. I don't use the Luau cmake so won't be making that change.
Btw, is there a security contact that isn't hackerone? hackerone signup isn't working properly.
(Nothing pressing, I just want to ask about something security related)
from luau.
Ok. I don't use the Luau cmake so won't be making that change.
We also disable warnings that we don't care about for in Makefile, so the fix will involve both.
from luau.
I don't use the makefile either :)
from luau.
Btw, is there a security contact that isn't hackerone? hackerone signup isn't working properly.
(Nothing pressing, I just want to ask about something security related)
HackerOne is the only channel to submit reports for a bug bounty.
If you are not interested in the bug bounty program, you can report an issue on the Roblox Developer Forum as a regular bug report.
Steps are explained here: https://devforum.roblox.com/t/how-to-post-a-bug-report/24388
Roblox bug reports support 'private' information section, so you can avoid exposing sensitive issues publicly.
from luau.
I don't want to post on the roblox forums, it's not a roblox-specific thing. I think i'll just make a new post, you can delete it if you want.
from luau.
You can provide a private report here on GitHub at https://github.com/luau-lang/luau/security by clicking 'Report a vulnerability'.
from luau.
Related Issues (20)
- Underflow for column count in luau-analyze involving a syntax and return type error in function
- `Luau::findAstAncestryOfPosition` returns short ancestry for global functions with empty blocks
- end keyword doesn't show up in autocomplete suggestions when using a return statement
- Vector XYZW fast path not supported for vectors within immutable globals HOT 1
- Allow removing globals in type definition files
- typeof() not functioning correctly for lightuserdata with a metatable
- Include version in CLI output
- Casting with table indexer doesn't error with new solver
- Type state prevents table key from being changed in new solver
- Reassigning table upvalue errors with new solver
- bad error message for incompatible function types
- Generic function not identifying variadic function parameters correctly
- Create a solution for `__iter` dropping the extra information passed to for loops
- Inference incorrect for intersection types involving unions with new solver
- Some functions returned by functions can't be called immediately with new solver
- Types from a generalized iteration cannot be compared
- "Deep" modules do not inherit their exported types
- Variadics using generic type pack causing `nil` type with new solver
- Release 0.638 == 0.637, 0.638 incorrect target commit
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 luau.