With recent SDK updates, built-in types such as Number, String, and Boolean cannot be resolved without including "import Toybox.Lang;" at the top of the file. So as a result, it needs to be included in practically every file. IMO this creates unnecessary boilerplate and it should be imported by default when compiling.
-
Travis.ConnectIQ
-
Cancel
-
Vote Up
0
Vote Down
-
-
More
-
Cancel
Comment-
Travis.ConnectIQ
-
Cancel
-
Vote Up
0
Vote Down
-
-
More
-
Cancel
Children