Displaying 5 results from an estimated 5 matches for "first_type".
2006 Sep 14
2
passing invisible parameters
I am unable to find any information about invisible parameters. I
currently have some code like this:
<%= link_to ''page'', :controller => ''form'', :action => ''new'', :type =>
''first_type'' %>
<%= link_to ''page'', :controller => ''form'', :action => ''new'', :type =>
''second_type'' %>
etc.
When one clicks the a link, the value :type is passed to the ''new''
action. That...
2007 Apr 30
4
Mocking with Calculated Results
...tub!(:save).and_return(true)
m.stub!(:destroy)
m.stub!(:errors).and_return(@countable)
m.stub!(:setting_name).and_return(''first_name'')
m.stub!(:setting_value).and_return(''first_value'')
m.stub!(:setting_type).and_return(''first_type'')
end
Setting.should_receive(:find).any_number_of_times.and_return do |a|
case a
when :all then [@setting, @setting]
when /\d+/ then @setting
else
nil
end
end
end
end
2012 Aug 09
1
[LLVMdev] Type inconsistency in LLVM 3.1: CGDebugInfo.cpp
Hi Ben,
Thanks that helped a lot.
The problem seems to be that with the move to C++11 we now have:
void std::vector<_Ty>::push_back(std::pair<_Ty1,_Ty2> &&)'
and there no conversion operator that can be applied to convert:
'std::pair<_Ty1,_Ty2>' to 'std::pair<_Ty3,_Ty4> &&
Where:
[
_Ty1=void *,
2007 Apr 28
7
[ rspec-Patches-9605 ] Patch for ER 9472, shared behaviour
Hi all - I''ve applied (to trunk) Bob Cotton''s patch which supports
shared behaviours (link to tracker below).
I''m still toying w/ names, so please be aware that until this is
released w/ 0.9 it should be considered experimental and there will
NOT be translation support for it. It will definitely be included in
some form - just the names (specifically
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...+public:
+ special_name(string_ref special, node* child)
+ : special(special), child(child) {}
+
+ void print_left(stream& s) const override
+ {
+ s += special;
+ child->print(s);
+ }
+};
+
+class ctor_vtable_special_name final : public type
+{
+ node* first_type;
+ node* second_type;
+public:
+ ctor_vtable_special_name(node* first_type, node* second_type)
+ : first_type(first_type), second_type(second_type) {}
+
+ void print_left(stream& s) const override
+ {
+ s += "construction vtable for ";
+ first_type...