Lasse R.H. Nielsen

Results 1773 comments of Lasse R.H. Nielsen

Does the environment you run in have a `LOCALAPPDATA` environment setting? (I think you can see that by writing `set LOCALAPPDATA` on the command line, or maybe printing `Process.environment["LOCALAPPDATA"]` before...

Concur, making it a header is what GitHub does. > Banana > Banana > = > > Apricot > Apricot > - Multiple unindented lines followed by a line of...

The initilizer declaration should probably follow the same rules as the local variable declaration in a fresh scope. That would make `int y = x, x = 0;` invalid because...

What is the intended use-case for this API? When compiled to JavaScript, all values are JavaScript values, so it sounds like the function of really asking `isNotDartValue` if it plans...

I'd go for returning true if `as JSAny` will succeed, and the object is not a plain Dart object, and false otherwise. It does mean that primitives in JS code...

One issue with allowing multiple `on` types is that it makes it harder to type the `catch (e)` variable. We can either disallow having a `catch` clause if you have...

Defintely a place where a refutable pattern fits right in. Strawman: ```dart try { // ... } case Exception e { // ... } case Error e when (e is!...

My guess is that users would expect it to work. That is, coercion happens after checking for `null`. I don't know whether we need to say something to ensure that,...

The issue here is that the expression's value is used by two contexts. If the example was ```dart int? x1; int x2; x1 = x2 = id(1 as dynamic); ```...