Skip to content

Struct fields are no more reordered.#138

Merged
Champii merged 2 commits intodevelopfrom
fix_reorder_struct_fields
Jun 25, 2022
Merged

Struct fields are no more reordered.#138
Champii merged 2 commits intodevelopfrom
fix_reorder_struct_fields

Conversation

@Champii
Copy link
Copy Markdown
Owner

@Champii Champii commented Jun 24, 2022

No description provided.

@Champii Champii added the bug Something isn't working label Jun 24, 2022
@Champii Champii self-assigned this Jun 24, 2022
@Champii Champii linked an issue Jun 24, 2022 that may be closed by this pull request
@Champii
Copy link
Copy Markdown
Owner Author

Champii commented Jun 24, 2022

Need tests for that, but I have no idea how to check the generated IR from the actual unit tests.
This might be undoable except with some shenanigans with the libc and some struct

@Champii Champii mentioned this pull request Jun 25, 2022
@Champii Champii marked this pull request as ready for review June 25, 2022 15:10
@Champii Champii merged commit 75ef090 into develop Jun 25, 2022
@Champii Champii deleted the fix_reorder_struct_fields branch June 25, 2022 15:21
Champii added a commit that referenced this pull request Jun 26, 2022
* Bump version

* Update README to show the right version of llvm

* Add the self returning method with `@->`

* Add tests for self returning function

* Add an embryo of documentation with mdbook

* Documentation

* Fix doc about struct

* Doc

* Add \0 as escaped char and generalize escaped char parsing (#125)

* Add \0 as escaped char and generalize escaped char parsing

* Inline parser variable in parse_char method

* Readme

* Readme

* Escaped chars (#132)

* Add \0 as escaped char and generalize escaped char parsing

* Inline parser variable in parse_char method

* Better unescaped handling

* Fix escaped backslack and add tests

* Restored string unescape

* Fixed the `\0` escaped char

* Doc

* Introducing default trait methods (#128)

* Introducing default trait methods

* Allow for empty impl

* Readme

* Add tests

* Allow for default method overriding

* Add tests for default method overriding

* Doc

* Fix dot notation newline (#140)

* Fix dot notation

by restricting newline in dot notation when parsing an argument

* Readme

* Struct fields are no more reordered. (#138)

* Struct fields are no more reordered.

* Removed comment

* Removed some old readme entry

* Submodule parser errors (#137)

* Subparser now fails when error

* Transformed the module declaration error to failure

* Fixed the diagnostic in submodule not showing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Struct fields are reordered

1 participant