Simon Krajewski
|
b82536a021
make sure to also mark property accessors of base classes as used
|
13 éve |
Simon Krajewski
|
414fec2d2d
added is_special_compare to as3
|
13 éve |
Simon Krajewski
|
c739e34b26
changed is_const to make_const to allow transformations such as inline (fixed issue #926)
|
13 éve |
Simon Krajewski
|
048b8a6db9
also handle ?used for property accessors that come from interfaces
|
13 éve |
Simon Krajewski
|
84f00d3076
keep inline fields that come from interfaces when DCE is active
|
13 éve |
Nicolas Cannasse
|
453d1a8014
minor fix for error reporting position
|
13 éve |
Simon Krajewski
|
94b72068f1
revert 2
|
13 éve |
Nicolas Cannasse
|
a6dff7a6df
fixed overloads type params (use the ones declared in @:overload)
|
13 éve |
Nicolas Cannasse
|
a6bcd3c819
removed :hack, instead check KTypeParameter
|
13 éve |
Simon Krajewski
|
0a3f4b53fd
add :hack to type parameters to allow basic type constraints on all platforms
|
13 éve |
Simon Krajewski
|
e3356833f5
added basic support for function parameter constraints (still needs some finetuning and support for class type parameters)
|
13 éve |
Simon Krajewski
|
1ae48da4a3
keep inline var constraints when -D haxe3 is set
|
13 éve |
Simon Krajewski
|
a4eb906336
- allow TTypeExpr for variable initialization (fixed issue #929)
|
13 éve |
Simon Krajewski
|
49f497d207
check param constraints late and then ignore monomorphs (fixed issue #318)
|
13 éve |
Simon Krajewski
|
ae96208dfa
added macro_depth to typer context to check macro recursion (fixed issue #948)
|
13 éve |
Simon Krajewski
|
7526a332de
added is_macro_ctx to Typer.create (fixed all typing related unit tests)
|
13 éve |
Nicolas Cannasse
|
6fa4563cfa
removed usage of error protection : instead uses display_error + Fatal_error (prevent eating errors when catching Error _)
|
13 éve |
Simon Krajewski
|
98e108f813
restrict member field inits to constant expressions
|
13 éve |
Nicolas Cannasse
|
2db819ad99
use Null for extern constructors optional args (fixed issue #919)
|
13 éve |
Nicolas Cannasse
|
a1ec46f4dd
fixed issues in flash and cpp with default inherited constructor having default parameters values
|
13 éve |
Nicolas Cannasse
|
16501ebed3
allow local functions to have both type parameters and be inlined (fixed issue #889)
|
13 éve |
Simon Krajewski
|
8921764718
resolved an issue with resolving the @:resolve resolver
|
13 éve |
Simon Krajewski
|
8262fab5e6
handle return flow of while(true) (required for Java)
|
13 éve |
Nicolas Cannasse
|
60c4391d9a
moved features from typer to common (allow setting features during compilation for later retrieval)
|
13 éve |
Simon Krajewski
|
463c6c0a6f
added Codegen.add_field_inits (not called yet)
|
13 éve |
Nicolas Cannasse
|
d6593bc4c4
eliminate inline var/functions that are not used when DCE is on
|
13 éve |
Nicolas Cannasse
|
96cc73b0ed
js optimizations :
|
13 éve |
Nicolas Cannasse
|
9ecde4553e
minor
|
13 éve |
Nicolas Cannasse
|
ca41ae4926
allow static initialization of properties (fixed issue #337)
|
13 éve |
Nicolas Cannasse
|
78640c4afb
use type_expr_with_type for static vars default value typing
|
13 éve |