Daco Harkes
Daco Harkes
> @dcharkes Can you try commenting out these lines and see if that fixes it for you locally? > > https://github.com/flutter/flutter/blob/bae1ac2f6f35a1d49fd826287d5f845e9717eaa2/dev/devicelab/bin/tasks/module_test_ios.dart#L492-L495 Commenting out these lines makes the test work locally...
> @dcharkes Can you try commenting out these lines and see if that fixes it for you locally? > > https://github.com/flutter/flutter/blob/bae1ac2f6f35a1d49fd826287d5f845e9717eaa2/dev/devicelab/bin/tasks/module_test_ios.dart#L492-L495 This fix makes the test pass for me locally...
> Remove support for single positional element records. They don't have any current use and are a syntactic wart. If we later add support for spreading argument lists and single...
> > I see elementAt is still a method, but it is documented that it requires a compile-time constant for the type argument and transformed in the CFE. I don't...
`GetLastError` and `errno` are both available on Windows, and they are set for two different sets of functions. The first one for win32 and the latter one for c library...
> Is there a way to access the errno in a platform-agnostic way? In https://github.com/tvolkert/libjpeg/blob/898aaf01bbf07619cb8a9047f7b732b1b544d01f/lib/libjpeg.dart#L197, the return code will be 0 if there was an error, and errno will contain...
Update on this issue: Our current thinking is that people should write wrapper C functions to capture the `errno`. (We should consider if we can ease that in FFIgen.) Work...
> If the overhead is too big, we may provide a flag (similar to `isLeaf`) to opt into the capturing behavior. > The actual captured error number could be exposed...
> Was both sad there wasn't an easy fix to this but appreciative that we're tracking the issue. > > It is fantastic to be able to use `dart:ffi` directly...
@halildurmus What is package:win32's policy on tracking beta releases? Can we submit a PR to migrate already now, or would we need to wait until Dart 3.3 is out?