-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service methods should be possible to specify its error type #127
Conversation
examples/pdf-service.nrm
Outdated
@@ -1,3 +1,5 @@ | |||
@error("") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Annotations don't have to have arguments (including parentheses). Therefore we can simplify this as @error
. See also the parser code.
이제 남은 것은 Runtime쪽에서 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@admire93 파일 중간에 패치 충돌한 흔적들이 보입니다.
@dahlia 리뷰를 부탁드립니다. |
src/Nirum/Targets/Python.hs
Outdated
compileTypeDeclaration src | ||
TypeDeclaration { typename = typename' | ||
, type' = UnionType tags | ||
, typeAnnotations = annotations } = do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
닫는 중괄호를 여는 중괄호에 맞춰서 들여쓰기 부탁합니다.
9647b9e
to
146402d
Compare
146402d
to
16dff98
Compare
nirum-lang/nirum-python#71 is folloing issue. |
#38