Closed panagosg7 closed 10 years ago
Nice! Assuming that all tests pass?
Yes. All regression tests pass. Haven't checked d3 yet.
Did that todo/createElt also work btw?
On Oct 15, 2014, at 7:42 AM, Panagiotis Vekris notifications@github.com wrote:
Yes. All regression tests pass. Haven't checked d3 yet.
— Reply to this email directly or view it on GitHub.
There's a classes/createElts.
That one works.
I'm afraid I haven't checked the fb/ folder. (It's not in the regression script)
Thanks Panos!
Added the other folder and merged the pr thanks!
On Oct 15, 2014, at 8:13 AM, Panagiotis Vekris notifications@github.com wrote:
I'm afraid I haven't checked the fb/ folder. (It's not in the regression script)
— Reply to this email directly or view it on GitHub.
This addresses #65 and adds support for tests like:
https://github.com/UCSD-PL/RefScript/blob/ssajoin/tests/pos/scope/init-04.ts https://github.com/UCSD-PL/RefScript/blob/ssajoin/tests/pos/scope/init-05.ts
https://github.com/UCSD-PL/RefScript/blob/ssajoin/tests/neg/scope/init-05.ts
New additions:
Initialization
, which is now used in all SSA, TC and LQ, and refers to the state of WriteGlobal variables. There are two cases:Initialized
andUninitialized
and the modifier propagates locally as a "must" fact:Then
r
is conservatively considered uninitialized in the end.Uninitialized
state the type used at USES is the "un-Kvared" type enhanced with a " + TUndef" -- a type system embedding of the fact that the variable "may" be undefined. SoenvFinTy
gets two flavors, depending on whether we are writing to or reading an uninitialized variable.Uninitialized
global variable changes it's state toInitialized
-duh-declared
).