Updates to new execution method of Upsilon
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -36,12 +36,17 @@ namespace UpsilonLanguageServer | ||||
|             return diag; | ||||
|         } | ||||
|  | ||||
|         private static readonly ScriptOptions Options = new ScriptOptions() | ||||
|         { | ||||
|             ThrowExceptionOnError = false | ||||
|         }; | ||||
|  | ||||
|         private static async Task RealLint(TextDocument document, int maxNumberOfProblems, SessionDocument session, | ||||
|             string content, List<Diagnostic> diag) | ||||
|         { | ||||
|             try | ||||
|             { | ||||
|                 using (var script = new Script(content)) | ||||
|                 using (var script = Executor.ParseInput(content, Options)) | ||||
|                 { | ||||
|                     session.SourceText = script.ScriptString; | ||||
|                     if (script.Diagnostics.Messages.Count > 0) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user