Skip to content

Commit

Permalink
bump(version): update to 2.4.8 and refactor GoFullIdentListenerTest
Browse files Browse the repository at this point in the history
Update the project version from 2.4.7 to 2.4.8. Additionally, refactor the GoFullIdentListenerTest to improve code readability by introducing a variable for the first data structure element.
  • Loading branch information
phodal committed Nov 12, 2024
1 parent 23220e9 commit 9889209
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ allprojects {
apply(plugin = "java")

group = "com.phodal.chapi"
version = "2.4.7"
version = "2.4.8"
description =
"Chapi is A common hierarchical abstract parser && information convertor, streamlines code analysis by converting diverse language source code into a unified abstract model, simplifying cross-language development."

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,9 @@ func (d *Dao) GetLiveAchieve(ctx context.Context, uid int64) (achieve int64, err
"""

val codeFile = GoAnalyser().analysis(code, "")
val functionCalls = codeFile.DataStructures.first().Functions.last().FunctionCalls
val first = codeFile.DataStructures.first()

val functionCalls = first.Functions.last().FunctionCalls

val getExecFunc = functionCalls[0]

Expand Down

0 comments on commit 9889209

Please sign in to comment.