mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-19 01:41:30 +00:00
Fix crash when assigning to bool class fields (#95)
With `Type.bool`, size is 1, so dividing by 8 isn't the right way to convert to byteSize. Instead, we need to use the `byteSize` property that does the proper ceiling division.
This commit is contained in:
committed by
Daniel Wirtz
parent
8997561670
commit
ce2bf00d62
1
NOTICE
1
NOTICE
@ -7,6 +7,7 @@ under the licensing terms detailed in LICENSE:
|
||||
* Max Graey <maxgraey@gmail.com>
|
||||
* Igor Sbitnev <PinkaminaDianePie@gmail.com>
|
||||
* Norton Wang <me@nortonwang.com>
|
||||
* Alan Pierce <alangpierce@gmail.com>
|
||||
|
||||
Portions of this software are derived from third-party works licensed under
|
||||
the following terms:
|
||||
|
Reference in New Issue
Block a user