Skip to content

Commit a5cb6ca

Browse files
committed
Combine @warn arguments into a single String
1 parent 6475277 commit a5cb6ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gentypes.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ function addtype!(mod::ROSMsgModule, typ::String)
178178
if !(typ in mod.members)
179179
@debug("Message type import: ", _fullname(mod), ".", typ)
180180
if _nameconflicts(typ)
181-
@warn("Message type '$typ' conflicts with Julia builtin, ",
181+
@warn("Message type '$typ' conflicts with Julia builtin, " *
182182
"will be imported as '$(_jl_safe_name(typ,"Msg"))'")
183183
end
184184
pymod, pyobj = _pyvars(_fullname(mod), typ)
@@ -512,7 +512,7 @@ function _addtypemember!(exprs, namestr, typestr)
512512
jlconargs = exprs[4].args[2].args
513513

514514
if typestr == "char" || typestr == "byte"
515-
@warn("Use of type '$typestr' is deprecated in message definitions, ",
515+
@warn("Use of type '$typestr' is deprecated in message definitions, " *
516516
"use '$(lowercase(string(_ros_builtin_types[typestr])))' instead.")
517517
end
518518

0 commit comments

Comments
 (0)