Skip to content

Commit 9cb73d2

Browse files
authored
Merge pull request #27 from 1c-syntax/fix/independensy
Обновление зависимости bsl-parser
2 parents 6045c06 + 4f66a47 commit 9cb73d2

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies {
4141
compile("org.slf4j", "slf4j-api", "1.8.0-beta2")
4242
compile("org.slf4j", "slf4j-simple", "1.8.0-beta2")
4343

44-
compile("com.github.1c-syntax", "bsl-parser", "0.3.0")
44+
compile("com.github.1c-syntax", "bsl-parser", "0.3.1")
4545

4646
// https://mvnrepository.com/artifact/commons-io/commons-io
4747
testImplementation("commons-io:commons-io:2.6")

src/test/resources/diagnostics/FunctionShouldHaveReturnDiagnostic.bsl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,12 @@
1313
Процедура ПроцедураСВозвратом()
1414
Возврат;
1515
КонецПроцедуры
16+
17+
Function F()
18+
19+
For Each A In B Do
20+
21+
EndDo;
22+
23+
Return B;
24+
EndFunction

0 commit comments

Comments
 (0)