-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toml: fix @[toml: ]
, support @[skip]
#21571
Conversation
Nice contrib @heyimtcn. Can you add a test? I think that the attribs would need to be respected during encoding as well to have consistent behavior. |
patched |
toml:
@[toml: ]
, support @[skip]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work.
why do formatting checks keep failing?? i even tested it locally and it works fine... |
It may have been because of some interaction between vfmt, your editor or your git settings, as @ttytm noted.
I have these lines: [core]
autocrlf=input
safecrlf=false in my .gitconfig file, if that is of any help. |
Right, there might have been an overwrite due to a local setting. Let us know if you spot what was causing it 😊 |
* master: cgen: fix array fixed initialization on struct from call (vlang#21568) testing: implement a separate `-show-asserts` option, for cleaner test output (`-stats` still works, and still shows both the compilation stats and the asserts) (vlang#21578) toml: fix `@[toml: ]`, support `@[skip]` (vlang#21571) os: fix debugger_present() for non Windows OSes (vlang#21573) builtin: simplify splint_nth methods (vlang#21563) net.http: change default http.Server listening address to :9009, to avoid conflicts with tools, that start their own http servers on 8080 like bytehound (vlang#21570) os: make minior improvement to C function semantics and related code (vlang#21565) io: cleanup prefix_and_suffix/1 util function (vlang#21562) os: remove mut declarions for unchanged vars in `os_nix.c.v` (vlang#21564) builtin: reduce allocations in s.index_kmp/1 and s.replace/2 (vlang#21561) ci: shorten path used for unix domain socket tests (to fit in Windows path limits)
fix
toml.decode_struct[T]()
to supportfield @[toml: name]