pebble-dev / RebbleOS

open source operating system for low-power smartwatches
Other
355 stars 38 forks source link

Fix + Refactor : crash issue of Action Test in Tests App #157

Closed Blackhawk95 closed 3 years ago

Blackhawk95 commented 3 years ago
jwise commented 3 years ago

First off, thanks for taking a look at this! A few things -- I understand why you made some of these changes, but I think they were based on incomplete information :) So I'll try to fill you in.

void do_something(struct s s) { int local_i = 4; s->i = &local_i; / this is allowed / (s->i) = 5; / this is not allowed; i is a const pointer / }



This is all really tricky stuff, so don't feel too bad!  It's exciting to see you dive into it.  I'd encourage you to take another crack at it, maybe starting again from the original implementation, to see if there's a smaller set of changes you can make to fix it.

Thanks again!