Kevin Leung

Results 172 issues of Kevin Leung

similar to the [node API](https://nodejs.org/api/fs.html#fs_stats_issymboliclink), doesn't follow symlink and returns: ```haxe typedef LStats = { > Stats, symlink:Bool } ```

https://github.com/HaxeFoundation/haxe/blob/development/std/Sys.hx

I made a poc for #48 implementing the concept of prefixing types with "$" when inside the module they are defined. It is quite ugly right now because I just...

```haxe Promise != cast js.lib.Promise; // should be false, but got true // name clash with js.lib.Promise class Promise {} ``` ref: - https://nodejs.org/api/globals.html - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects

```haxe abstract Foo(Int) { public static final INST: Foo = null; } ``` generated: ```ts export declare class Foo_Impl_ { static INST: number } ``` Note the extraneous `` before...

```haxe import js.lib.Promise as AliasPromise; typedef TypedefPromise = js.lib.Promise; class Main { static function main() {} public static function f1(p: js.lib.Promise): Void {} // good public static function f2(p: AliasPromise):...

See: https://github.com/benmerckx/genes/pull/35#issuecomment-778112265

```haxe // Main.hx import Foo; class Main { static function main() { trace(Bar); dynamicImport(Foo -> trace(Foo); } } // Foo.hx class Foo() {} class Bar() {} ``` The above code...

This will try to calculate the emoji size from the spannable text itself. Set emojiSize to a negative number to activate.