mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 07:33:01 +00:00 
			
		
		
		
	Check that new source location is a string
This commit is contained in:
		| @@ -2173,7 +2173,9 @@ | |||||||
|         (buffer/clear buf)) |         (buffer/clear buf)) | ||||||
|  |  | ||||||
|       [:source new-where] |       [:source new-where] | ||||||
|  |       (if (string? new-where) | ||||||
|         (set where new-where) |         (set where new-where) | ||||||
|  |         (set where default-where)) | ||||||
|  |  | ||||||
|       (do |       (do | ||||||
|         (var pindex 0) |         (var pindex 0) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Camilleri
					Michael Camilleri