Explorar o código

Fixed amberc.js Issue#617

Thomas Rake %!s(int64=11) %!d(string=hai) anos
pai
achega
df326c1aaa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bin/amberc.js

+ 1 - 1
bin/amberc.js

@@ -607,7 +607,7 @@ AmberC.prototype.compose_js_files = function() {
 	});
 	if (undefined !== defaults.main) {
 		console.log('Adding call to: %s>>main', defaults.main);
-		fileStream.write('smalltalk.' + defaults.main + '._main()');
+		fileStream.write('global_smalltalk.' + defaults.main + '._main()');
 	}
 
 	if (undefined !== defaults.mainfile && fs.existsSync(defaults.mainfile)) {