Inlcuded fixes: - include preamble in generated source map - always add a mapping for line/col 0 so that the generated sourcemap is not sparse - use a uniue sourceUrl for inline templates even in the AOT case
		
			
				
	
	
		
			15 lines
		
	
	
		
			395 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			395 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
/**
 | 
						|
 * @license
 | 
						|
 * Copyright Google Inc. All Rights Reserved.
 | 
						|
 *
 | 
						|
 * Use of this source code is governed by an MIT-style license that can be
 | 
						|
 * found in the LICENSE file at https://angular.io/license
 | 
						|
 */
 | 
						|
 | 
						|
import {Component} from '@angular/core';
 | 
						|
 | 
						|
@Component({selector: 'comp-with-error', templateUrl: 'errors.html'})
 | 
						|
export class BindingErrorComp {
 | 
						|
  createError() { throw new Error('Test'); }
 | 
						|
}
 |