Skip to content

Fix group blocks from dropping errors#113

Merged
coryb merged 1 commit intoopenllb:masterfrom
hinshun:group-drop-err
Apr 20, 2020
Merged

Fix group blocks from dropping errors#113
coryb merged 1 commit intoopenllb:masterfrom
hinshun:group-drop-err

Conversation

@hinshun
Copy link
Copy Markdown
Contributor

@hinshun hinshun commented Apr 20, 2020

fs a() {
	image string {
		template "{{ invalid }}"
	}
}

group b() {
	image string {
		template "{{ invalid }}"
	}
}
$ hlb run -t a foo.hlb
[+] Building 0.0s (1/1) FINISHED
 => ERROR compiling [a]                                                                                                                                               0.0s
------
 > compiling [a]:
#1 0.000 Caused by: template: foo.hlb:3:3:1: function "invalid" not defined
------

$ hlb run -t b foo.hlb
[+] Building 0.0s (1/1) FINISHED
 => ERROR compiling [b]                                                                                                                                               0.0s
------
 > compiling [b]:
#1 0.000 Caused by: template: foo.hlb:9:3:1: function "invalid" not defined
------

@hinshun hinshun requested a review from coryb April 20, 2020 21:03
@coryb coryb merged commit 37aeaae into openllb:master Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants