-
Start a static file server with a given dir, and optional ports
-
The regular expression for static file extensions does not currently include the PDF extension -- see [here](https://github.com/AnswerDotAI/fasthtml/blob/29d891b0f3693989fc00b6a2c1d166b3ed217c3d/fasth…
-
# Extensions as static types
* [x] Proposed
* [ ] Prototype: Not Started
* [ ] Implementation: Not Started
* [ ] Specification: Not Started
## Summary
[summary]: #summary
Disallow use o…
-
Static members and constructors can be accessed using a typedef name which is defined to refer to the namespace declaration which contains the appropriate static member:
```dart
class C {
stati…
-
Bubbling up this discussion from comments in #3835 , how do we expect type inference to work for constructors defined in static extensions. Ignoring the question of whether we re-use the existing `ex…
-
Mixin declarations currently may not declare factory constructors:
```dart
mixin M {
// This is an error
factory M.foo() => throw "hello";
}
```
Both variants of the static extensions p…
-
Extensions can be defined with typedef names as the on type:
```dart
class C {
}
typedef D = C;
extension E on D {
int get foo => 3;
}
void main() {
print(C().foo);
}
```
Sho…
-
## Motivation
Currently, extension methods do not support adding static methods/factory constructors. But this is a missed opportunity!
There are many situations where semantically we want a sta…
-
AFAF: https://try.haxe.org/#52ff1319
```haxe
@:using(Test.MyEnumUtils)
enum A {
VA;
VB(isX:Bool);
}
abstract B(A) from A {
@:to function toString() return this.toString();
}
…
-
The current proposal (#3835) for static extensions only allows static members and constructors to be accessed only on "class-like" types (that is classes, mixin classes, mixins, enums, and extension t…