Mat Simon

Results 116 comments of Mat Simon

Is this related to this issue? ```dart import 'package:mockito/mockito.dart'; typedef MyHandler(T arg1); defaultHandler(T arg1) {} class Foo { bar({MyHandler arg: defaultHandler}) {} } class MockMandrillClient extends Mock implements Foo {}...

@srawlins I'm running dart `2.0.0`: ``` /usr/local/Cellar/dart/2.0.0/libexec/bin/dart ``` `mockito v3.0.0` It's quite interesting, because when you remove `implements Foo` from the class definition it also doesn't fail.

I thought that was very likely. Thanks for looking into it!

Is there a simple hack/workaround for this, that we can use until it is implemented? (Apart from setting an environment variable)

> @binyamin DX is nice, but apps are for _users_, not developers. Bundle size affects the _user_, so that should take a higher priority. DX is an extra. The deliverables...

Oh man @5hee75 I was wondering forever why this happened in my app. This explains it perfectly.

I haven’t yet found out why exactly, but I upgraded svelte kit + supabase, and now using a new supabase instance for an individual route breaks the routing completely. The...

> Not sure about Auth and Realtime, but for REST this should be fine. > > Alternatively (and this is a bit hacky): > > ```js > // initSupabase.js >...

That sounds good. Unfortunately I don't have the time right now, but if I manage to squeeze it in a few weeks from now, I'll get back to you!

Thanks TrevorBurnham for pointing out that inserting intended blank lines "fixes" this behavior. This is at least a workaround.