Tim Whiting

Results 453 comments of Tim Whiting

So here is a radical idea: Just don't use delimiters (if we have a delimiter why not use the normal delimiter "). And then an interpolation is just sequence of...

The main difference is that it is not an `n` parameter function - so you don't have to worry about unification with different sized lambdas, instead it desugars to `n`...

You can actually have multiple trailing arguments: ``` while { n > 1 } ... ``` gets desugared to ``` while(fn() n > 1, fn() ...) ``` Or slightly elongated,...

Whitespace separation is hard to do for general arguments, especially prior to type checking and with operators: For example ``` dosomething a > b ``` Does this mean `dosomething(a,>,b)` or...

Here is the most relevant info: https://github.com/dart-lang/dart-pad/wiki/Embedding-Guide#embedding-choices (i.e. the injection method I was using seems to be deprecated). The new format is probably closer to what you linked: https://github.com/dart-lang/dart-pad/issues/2702. Here...

Fixed it by switching to an old dartpad url for now. The new embedding doesn't support all of the same options as before, and so it will take longer to...

Try pinning this package to the version 2.1.1 which will work on old versions of flutter if you cannot update your flutter sdk.

This is a general problem. The error monad is only used in a subset of the compiler, and we rely on compiler crashes too much.

@timbertson I just realized this might already be available as `core/debug/impossible`...

If A is declared like this and the test method is public, then the author of A should probably put the 'base' modifier on the class requiring extension and disallowing...