mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Switch to <* *> docs. Fix issue with dynamically loaded C3 libs with other C3 code.
This commit is contained in:
committed by
Christoffer Lerno
parent
9f6a4eb300
commit
31cd839063
@@ -1,8 +1,6 @@
|
||||
// #target: macos-x64
|
||||
|
||||
/**
|
||||
* @require Type.kindof == STRUCT
|
||||
**/
|
||||
<* @require Type.kindof == STRUCT *>
|
||||
module abc(<Type>);
|
||||
import std::io;
|
||||
import std::collections::list;
|
||||
@@ -42,10 +40,10 @@ struct TextTag
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @require self.tags.len == 0 "template already initialized"
|
||||
* @require tag_start != tag_end
|
||||
**/
|
||||
<*
|
||||
@require self.tags.len == 0 "template already initialized"
|
||||
@require tag_start != tag_end
|
||||
*>
|
||||
fn void! TextTemplate.init(&self, String template, String tag_start = "{{", String tag_end = "}}", Allocator using = allocator::heap())
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user