Possible Compiler "View" Error #1201
-
Hi @jeapostrophe - this is a possible compiler error (misinterpreting views) similar to one you helped fix few months ago on Discord. Here is the link to the rsh code: https://gist.github.com/asolpshinning/216c62f513cbe8e48c979bb633c91543 If you comment out line 70 (a view) on the rsh code, everything compiles fine with no warning.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This makes sense. Line 70 is a data structure of size 3200 (because it is 100 addresses, which are each 32 bytes). If you don't use the view, then Reach can optimize away the whole |
Beta Was this translation helpful? Give feedback.
This makes sense. Line 70 is a data structure of size 3200 (because it is 100 addresses, which are each 32 bytes). If you don't use the view, then Reach can optimize away the whole
wlArr
value and remove all that space