Ejemplo n.º 1
0
var RTL$ = require("test_rtl.js");
var $scope = "m1";
var ci = 123;
function Base(){
	this.i = 0;
}
Base.prototype.$scope = $scope;
function T(){
	Base.call(this);
}
RTL$.extend(T, Base, $scope);
function TPA(){
}
TPA.prototype.$scope = $scope;
function ExportPointerOnly(){
	Base.call(this);
}
RTL$.extend(ExportPointerOnly, Base, $scope);
var i = 0;
function anonymous$1(){
	this.i = 0;
}
anonymous$1.prototype.$scope = $scope;
var pr = null;
var pr2 = null;

function p(){
}

function makeTPA(){
	var result = null;
Ejemplo n.º 2
0
var RTL$ = require("test_rtl.js");
var m1 = require("m2.js");
var m2 = require("m1.js");
var r = new m2.T();
var a = RTL$.makeArray(3, function(){return new m2.Base();});
var ptr = null;
var pb = null;
ptr = new m2.T();
pb = ptr;
RTL$.typeGuard(pb, m2.T).i = 123;
m2.p();