Brandon Ray

Results 4 comments of Brandon Ray

I think having two different keywords will work fine. However I would want to see if it would be possible to detect that a "static import" could be done though,...

Yes something like that @marcobambini. Though you should still be able to import dynamically at runtime even with a string literal. I suppose there would need to be a check...

It would cover the case that someone is using a conditional import like in an if block or a try catch block. If we throw an error at compile time...

This would be very useful. I was surprised to find it actually hasn't been implemented yet.