forked from MapComplete/MapComplete
		
	Studio: more finetuning, first version working
This commit is contained in:
		
							parent
							
								
									c4d4a57a08
								
							
						
					
					
						commit
						ac1e7c7f06
					
				
					 39 changed files with 2971 additions and 7187 deletions
				
			
		| 
						 | 
				
			
			@ -153,9 +153,6 @@ export class Pipe<TIn, TInter, TOut> extends Conversion<TIn, TOut> {
 | 
			
		|||
 | 
			
		||||
    convert(json: TIn, context: ConversionContext): TOut {
 | 
			
		||||
        const r0 = this._step0.convert(json, context.inOperation(this._step0.name))
 | 
			
		||||
        if (context.hasErrors()) {
 | 
			
		||||
            return undefined
 | 
			
		||||
        }
 | 
			
		||||
        return this._step1.convert(r0, context.inOperation(this._step1.name))
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -308,9 +305,6 @@ export class Fuse<T> extends DesugaringStep<T> {
 | 
			
		|||
                if (r === undefined || r === null) {
 | 
			
		||||
                    break
 | 
			
		||||
                }
 | 
			
		||||
                if (context.hasErrors()) {
 | 
			
		||||
                    break
 | 
			
		||||
                }
 | 
			
		||||
                json = r
 | 
			
		||||
            } catch (e) {
 | 
			
		||||
                console.error("Step " + step.name + " failed due to ", e, e.stack)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue