fixed CLI for new compiler interface
This commit is contained in:
		
							parent
							
								
									30b6ef235b
								
							
						
					
					
						commit
						f1ae4b2d23
					
				@ -144,7 +144,7 @@ suspend fun executeFile(fileName: String) {
 | 
				
			|||||||
        text = text.substring(pos + 1)
 | 
					        text = text.substring(pos + 1)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    processErrors {
 | 
					    processErrors {
 | 
				
			||||||
        Compiler.compile(Source(fileName, text)).execute(baseScope)
 | 
					        baseScope.eval(Source(fileName, text))
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user