Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This seems like not only an odd feature, but a bad/dangerous one. When the layout has been used for any existing objects, changing it will produce very difficult-to-diagnose bugs (at least) or potentially memory violations if the layout is re-retrieved from the class and used for previous pointers. It was heavily used in the specs to overwrite one and the same class multiple times to change the layout immediatelly before the test. However this use case is specific to testing and should not be used anyway. Fixes ffi#734
- Loading branch information