James Duley

Results 40 comments of James Duley

This would really save so many boilerplate `TypeVar`s in the project my team is working on. FWIW, Java has this too, `?`, called wildcards.

Yes, we have a lot of bound invariant TypeVars. Of course, using `Any` will work for now, but if the code in the future begins to use the type, it...

[PEP 696 - Type defaults](https://peps.python.org/pep-0696/) actually solves most of my use cases for this, if I make the default the same as the bound (including using `object` when it's unbound)....

soft-float should work on all targets you just need the `+soft-float` target feature to make sure no floating point code (using SSE registers on x86) is generated in addition to...

I started doing a similar thing to `cortex-a` when I first started with rust, it looked like this ``` pub struct XXX_ELx(u64); impl XXX_ELx { pub unsafe fn read() ->...

Ah yes, I didn't look closely enough, yours looks fine to me then. It's just not obvious to me looking at `register_bitfields` macro whether you can set a bunch fields...

Gitpod is a cloud IDE which gives you a shell in a docker instance. You can specify the Dockerfile, e.g., I'm trying this one. The user it gives you is...

I've been getting this a bit recently. I'm not sure exactly when it triggers, but I think it's when there is compilation errors. ![image](https://github.com/belav/csharpier/assets/5975405/23db8480-1c95-49f7-8013-7649b217104d)

I'd be happy if it worked like this: 1. Record which pairs of imports have a space between them. 2. Sort as is currently done. 3. For any of the...

Or, perhaps, 1. Group by first part of the namespace 2. Put System first 3. Put the group that matches the namespace used in the file last 4. Sort the...