Rob Ryan

Results 16 comments of Rob Ryan

It is basically this line: `if struct_.record_type is Class and not top_level {` in codegen.jakt As the record type is Struct it ends up with infinite recursion. If the code...

I was having a look at this, the Rust compiler I think has the same type situation but just worked because it doesn't type check it. This code I ended...

> Ah, it won't accept failing tests. > > Issue created at #951 . Yeah I think it would be useful to allow them. Probably need a flag to indicate...

```php use PHPUnit\Framework\TestCase; use duncan3dc\Laravel\Dusk; use duncan3dc\Laravel\Drivers\Chrome; use Facebook\WebDriver\WebDriverBy; class BrowserTest extends TestCase { public static $browser = null; public static function setUpBeforeClass() : void { self::$browser = new Dusk;...

A few structural ideas based on what I have done: - A payments table which collects the common fields - for example I have `payments` and then say `payments_extra_stripe` -...

Sorry to clarify a bit what I meant with `payments_extra_stripe`, I mean for for the Stripe payment gateway for credit cards. So the `payments` table would be mostly common fields...

> i have given this some thought. i was thinking about setting up an abstract class called `payments` or perhaps `zenPayments` that extends base. within this abstract class, we can...

Yeah ideally that would be supported. Was having a look if it worked currently with a generic params, seems that there is an issue currently with a generic param determining...

It is the same with classes. ``` class Test { public a: i64 } function main() { let a = Test(a: 1) mut b = a b.a++ println("{}", a) }...

That code seems to work for me. You can also drop the `Some` around `32i32` as it is using the return type hint. There are some issues though in inferring...